react-native-gesture-handler
react-native-gesture-handler copied to clipboard
[iOS] RectButton does not trigger onPress when nested inside ReanimatedSwippeable
Description
When RectButton is nested inside ReanimatedSwippeable, it does not trigger the onPress callback unless you long
press.
https://github.com/user-attachments/assets/8d720d7e-ad5f-4e15-968a-feccb24ec5fc
Steps to reproduce
- Put a
RectButtoninside aReanimatedSwipeableand try to trigger theonPresscallback.
Snack or a link to a repository
https://github.com/focux/expo-rect-swipeable-bug
Gesture Handler version
2.21.0
React Native version
0.74.5
Platforms
iOS
JavaScript runtime
Hermes
Workflow
Expo bare workflow
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
No response
Acknowledgements
Yes