Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gesture with no callbacks set causes a redbox when Reanimated isn't installed #3235

Open
j-piasecki opened this issue Nov 21, 2024 · 0 comments

Comments

@j-piasecki
Copy link
Member

Description

When there are no callbacks, RNGH doesn't detect that the callbacks aren't worklets (there aren't any) so it tries to send events to the UI runtime. This causes a redbox when Reanimated isn't installed.

Steps to reproduce

Gesture.Native()

Snack or a link to a repository

https://github.com/software-mansion/react-native-gesture-handler

Gesture Handler version

2.21.2

React Native version

0.76.0

Platforms

Android, iOS, MacOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant