[iOS][Expo] PanGestureHandler does not get active when it has a `simultaneousHandlers`
See original GitHub issueDescription
The new release of Expo 46 seemed had broken gesture-handler on iOS, where when a PanGestureHandler
has simultaneousHandlers
on, it will never get active.
I have tested the same code base on Android, and it function as expected. Also tested on a bare React Native project, and it function as expected.
This issue did break Bottom Sheet library.
Preview
Expo
expo 46.0.6, react-native 0.69.4, react-native-gesture-handler 2.5.0, react-native-reanimated 2.9.1
https://user-images.githubusercontent.com/4061838/184496206-8ac2e172-aa55-430b-89c0-b28b4212a063.mov
React Native
react-native 0.69.4, react-native-gesture-handler 2.5.0, react-native-reanimated 2.9.1
https://user-images.githubusercontent.com/4061838/184496221-e571956e-7aee-49a1-be34-55228ddb4bae.mov
Steps to reproduce
- Run the snack provided on iOS
- Scroll the list
State won’t get active
- Run the snack provided on Android
- Scroll the list
State will get active
Snack or a link to a repository
https://snack.expo.dev/@gorhom/7a1a40
Gesture Handler version
2.5.0
React Native version
0.69.4
Platforms
iOS
JavaScript runtime
JSC
Workflow
Expo managed workflow
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
Real device
Device model
iPhone
Acknowledgements
Yes
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:12 (4 by maintainers)
Top GitHub Comments
If you’re using the
expo-dev-client
, you can already test out the fix. Just bump the version of dev-client to1.2.1
. The same fix will be available in Expo Go soon 😉We had the same issue at my company. Upgrading the dev-client to 1.2.1 solved the issue for us. If anyone’s curious, here’s the relevant commit: https://github.com/expo/expo/commit/0ce07b3d1cc2c59fd213982266a44d54c5715358