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

Missing gestureEnabled from drawer/src/types.tsx #10795

Open
6 of 11 tasks
rencsikmarian opened this issue Aug 27, 2022 · 0 comments
Open
6 of 11 tasks

Missing gestureEnabled from drawer/src/types.tsx #10795

rencsikmarian opened this issue Aug 27, 2022 · 0 comments

Comments

@rencsikmarian
Copy link

Current behavior

The option is missing from the types, and the tap on overlay to close or not the drawer is not possible now.
The documentation have this option available: https://reactnavigation.org/docs/drawer-navigator options-> gestureEnabled

Expected behavior

When you add the option you should be able to control the tap on overlay to close or not the drawer.

Reproduction

https://snack.expo.dev/@rdvmarian/gestureenabled-missing

Platform

  • Android
  • iOS
  • Web
  • Windows
  • MacOS

Packages

  • @react-navigation/​bottom-tabs
  • @react-navigation/​drawer
  • @react-navigation/​material-bottom-tabs
  • @react-navigation/​material-top-tabs
  • @react-navigation/​stack
  • @react-navigation/​native-stack

Environment

  • [] I've removed the packages that I don't use
package version
@react-navigation/native 6.0.12
@react-navigation/bottom-tabs 6.3.3
@react-navigation/drawer 6.4.4
@react-navigation/stack 6.2.3
react-native-safe-area-context 4.3.3
react-native-screens 3.16.0
react-native-gesture-handler 2.6.0
react-native-reanimated 2.10.0
react-native 0.69.4
node v16.15.1
npm 8.18.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant