PanGestureHandler does not pass through scroll actions on Android #2659
Labels
Close when stale
The issue will be closed automatically if it remains inactive
Platform: Android
This issue is specific to Android
Platform: iOS
This issue is specific to iOS
Repro provided
A reproduction with a snack or repo is provided
Description
When nesting scrollable items such as flatlist or scrollview inside of a PanGestureHandler, the scroll is not passed through on iOS, but it is on Android. Ideally it should be passed through on both, to allow swipe navigation on top of a scrollable element.
Steps to reproduce
See the snack. You simply nest a scrollable component inside of a PanGestureHandler. When running the snack, you will see that you are able to scroll on iOS, but not on Android.
Snack or a link to a repository
https://snack.expo.dev/@eirikhanasand/ranting-indigo-tea?platform=android
Gesture Handler version
2.12
React Native version
0.72.6
Platforms
Android, iOS
JavaScript runtime
None
Workflow
Expo bare workflow
Architecture
Paper (Old Architecture)
Build type
None
Device
Real device
Device model
Have been tested on many physical devices, as well as both iOS and Android as the Expo snack linked above.
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: