Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

back button dose not close drawer on android #358

Open
msharifi99 opened this issue Jun 22, 2018 · 1 comment
Open

back button dose not close drawer on android #358

msharifi99 opened this issue Jun 22, 2018 · 1 comment

Comments

@msharifi99
Copy link

msharifi99 commented Jun 22, 2018

when the drawer is open and I want to close it by pressing back button on android's navigation bar
instead of closing the drawer, it goes back to the previous page
here's my drawerMenu code:
<Drawer type="overlay" content={<MenuContent />} tapToClose={true} openDrawerOffset={0.3} panOpenMask={0.6} tweenHandler={ratio => { return { mainOverlay: { opacity: ratio - 0.2, backgroundColor: "black" } }; }} ref={ref => (this._drawer = ref)} panCloseMask = {0.9} >
sorry for my terrible English

@msharifi99 msharifi99 changed the title drawer dosen back button dose not close drawer on android Jun 22, 2018
@sam9010
Copy link

sam9010 commented May 16, 2020

how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants