-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
drawer does not slide out when swipe from left and does not close when tap on background screen #5259
Comments
Hi @jendev85, Can you create a runnable example on https://snack.expo.io ? |
Hello @eriveltonelias. Drawer can't be used in expo (issue is below). When I'm using another type of Navigator, it works. But this is kind of snack issue ((0, _reactNavigation.createDrawerNavigator) is not a function) Source code: https://snack.expo.io/@vadimkorr/drawer-navigator |
Seems this relates to #5251 |
yeah, you're right @vadimkorr. |
Thanks @vadimkorr! :) can you confirm if that works for you @jendev85 ? |
cc @tcdavis there appears to be a snack bug here |
also @jendev85 - as @vadimkorr suggested https://stackoverflow.com/questions/53394982/react-navigation-swipe-on-drawer-does-not-work-in-android/53396072#53396072 should solve your issue. it's important to follow the instructions for adding react-native-gesture-handler to your app :) |
Current Behavior
Recently updated to v3.0.0 and the DrawerNavigator no longer slides out when swiped and will not close when background screen is tapped
Expected Behavior
Before the upgrade, the Drawer would slide out when swiped left to right and would close when the screen in the background was tapped.
How to reproduce
The current stack:
AppContainer
-SwitchNavigator
-DrawerNavigator
-StackNavigator
Environment
The text was updated successfully, but these errors were encountered: