Manual Activation Gestures eats first touch input after foregrounding on iOS. #3205
Labels
Can repro
It is confirmed we can reproduce the issue
Platform: iOS
This issue is specific to iOS
Repro provided
A reproduction with a snack or repo is provided
Description
Let's create a simple barebones app that uses a manually activated pan gesture handler.
Steps to reproduce
react-native-screens
or something.You will observe that the first swipe does not register. We don't see any overscroll effect on the ScrollView. A second swipe will have the proper effect and feedback.
PXL.Nov.9.2024.mp4
From some light debugging I've done I noticed that:
enabled(false)
) still cause this problem.manualActivation(false)
gestures do not have this problem.hitSlop({bottom: -100})
does not fix the issue either.That's about all the debugging I've done so far, and please double check my work. :)
Snack or a link to a repository
https://github.com/tpcstld/rn-stuff/blob/scrolling-repro/app/_layout.tsx
Gesture Handler version
2.20.2
React Native version
0.74.5
Platforms
iOS
JavaScript runtime
None
Workflow
None
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
Real device
Device model
iPhone 16 Pro
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: