Skip to content

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

Open
@focux

Description

@focux

Description

When RectButton is nested inside ReanimatedSwippeable, it does not trigger the onPress callback unless you long
press.

Screen.Recording.2024-11-15.at.4.27.39.PM.mov

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

Metadata

Metadata

Assignees

Labels

Can reproIt is confirmed we can reproduce the issuePlatform: iOSThis issue is specific to iOSRepro providedA reproduction with a snack or repo is provided

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions