Cannot Open DrawerLayout of react-native-gesture-handler #2600
Unanswered
sunzhaoyang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Im trying to use for my first time the Drawer Layout from react-native-gesture-handler, but everytime i try to use it wont open.
No error messages, nothing happens.
Simply my code as following :
I tried change
onPress={draw.current.openDrawer}
to
onPress={() => {draw.current.openDrawer();console.log(draw.current.state) }}
Got output:
Environment:
Beta Was this translation helpful? Give feedback.
All reactions