You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gesture Handler v3 seems incompatible with React.StrictMode. When the app is wrapped in strict mode:
On iOS the app instantly crashes. In the XCode logs, I see *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Handler for tag 1 does not exists'
On Android, I don't see a relevant log or error, but the gestures don't work
Description
Gesture Handler v3 seems incompatible with
React.StrictMode. When the app is wrapped in strict mode:*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Handler for tag 1 does not exists'Simulator.Screen.Recording.-.iPhone.17.Pro.-.2026-05-13.at.10.38.39-optimised.mov
untitled-optimised.mp4
Removing
React.StrictModemakes the gestures work both on Android & iOS.PS: The repro uses Community CLI, but I'm also had an error on Expo in my existing code. Though the error was different:
Steps to reproduce
git@github.com:satya164/GestureHandlerStrictModeRepro.gitApp.tsxto removeReact.StrictModeand observe that the gestures workA link to a Gist, an Expo Snack or a link to a repository based on this template that reproduces the bug.
https://github.com/satya164/GestureHandlerStrictModeRepro
Gesture Handler version
3.0.0-beta.4
React Native version
0.85.3
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
None
Build type
Debug mode
Device
iOS simulator
Device model
No response
Acknowledgements
Yes