Open focux opened 1 week ago
When RectButton is nested inside ReanimatedSwippeable, it does not trigger the onPress callback unless you long press.
RectButton
ReanimatedSwippeable
onPress
https://github.com/user-attachments/assets/8d720d7e-ad5f-4e15-968a-feccb24ec5fc
ReanimatedSwipeable
https://github.com/focux/expo-rect-swipeable-bug
2.21.0
0.74.5
iOS
Hermes
Expo bare workflow
Paper (Old Architecture)
Debug mode
iOS simulator
No response
Yes
Description
When
RectButton
is nested insideReanimatedSwippeable
, it does not trigger theonPress
callback unless you long press.https://github.com/user-attachments/assets/8d720d7e-ad5f-4e15-968a-feccb24ec5fc
Steps to reproduce
RectButton
inside aReanimatedSwipeable
and try to trigger theonPress
callback.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