react-native-gesture-handler icon indicating copy to clipboard operation
react-native-gesture-handler copied to clipboard

[iOS] RectButton does not trigger onPress when nested inside ReanimatedSwippeable

Open focux opened this issue 1 year ago • 6 comments

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

  1. Put a RectButton inside a ReanimatedSwipeable and try to trigger the onPress 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

focux avatar Nov 15 '24 20:11 focux