-
-
Notifications
You must be signed in to change notification settings - Fork 984
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
DrawerLayout containing FlatList stays open when using openDrawer #2573
Comments
We see the same behavior when upgrading from 2.9.0 to 2.10.0 (and above). Edit: my mistake, our issue is similar, not identical though. Happens with 2.10.0 above only, not below (you mention testing with 2.9.0). We have:
This happens 100% of the time on web and sometimes on android / iOS. For android / iOS it seems to happen when you spam click the interface and it's trying to animate something else when doing a drawer close. Behavior similar to #2208 (comment) We have no |
I upgraded to |
If anyone has any workarounds or possible fixes, I would be happy to try them! |
This actually happens in the example too: CleanShot.2023-08-27.at.09.13.24.mp4 |
|
This problem has nothing to do with FlatList. I have this problem even if I don’t have FlatList. |
https://reactnavigation.org/docs/drawer-layout/ I used this now, it works fine. |
Experiencing this as well on |
This is a duplicate of #2208 |
Description
We have a main drawer that we open with a button. The home screen of our app has a big FlatList with content. After opening the DrawerLayout twice using
openDrawer()
, if you scroll down, the drawer gets stuck open. There is no transition when it opens the final time and logging suggests that it thinks it's closed.I have a full reproduction here: https://github.com/statico/rngh-mobile-bug
Direct link to code: https://github.com/statico/rngh-mobile-bug/blob/main/app/index.jsx
CleanShot.2023-08-22.at.15.30.26.mp4
Steps to reproduce
yarn install
and runeas build --profile simulator --platform ios
to build a development build, or try grabbing it from https://expo.dev/accounts/statico/projects/rngh-drawer-bug/builds, or maybeeas build:run -p ios
just works? I'm not sure.Snack or a link to a repository
https://github.com/statico/rngh-mobile-bug
Gesture Handler version
2.9.0
React Native version
0.71.8
Platforms
iOS
JavaScript runtime
Hermes
Workflow
Expo managed workflow
Architecture
None
Build type
Release mode
Device
Real device
Device model
All iPhones are affected
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: