Description
Upgrading from react-native-gesture-handler@2.31.2 to 3.0.0 causes a SIGABRT crash on both iOS and Android (Fabric / New Architecture). The crash is a Yoga layout assertion failure triggered during layout of RNGestureHandlerDetectorShadowNode.
The crash occurs when dynamically inserting ReanimatedSwipeable rows into a FlatList while a @gorhom/bottom-sheet (which uses GestureDetector internally) is rendered as a sibling in the same parent view.
This does not occur on react-native-gesture-handler@2.31.2.
Steps to reproduce
- Clone the repro: https://github.com/AlsaadAhamed4/rngh-v3-crash-repo
npm install && cd ios && pod install && cd ..
npx react-native run-ios (on a physical device)
- Tap "Go to Recording Flow"
- Reproduce via either method:
Method A: Tap "Start Recording" → "Stop" repeatedly. Crash occurs around the 12th record being added.
Method B: Tap "Rapid Add 5 Rows" → "Hide Sheet" → "Show Sheet" → "Rapid Add 5 Rows".
A link to a repository that reproduces the bug
https://github.com/AlsaadAhamed4/rngh-v3-crash-repo
Gesture Handler version
3.0.0
React Native version
0.85.3
Platforms
iOS, Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
New Architecture (Fabric)
Build type
Debug mode
Device
Real device
Device model
iPhone
Acknowledgements
Yes
Steps to reproduce
- Run the app on an iOS physical device (Xcode, Debug build)
- Tap "Go to Recording Flow"
- Reproduce via either method:
Method A: Tap "Start Recording" → "Stop" repeatedly. Crash occurs around the 12th record being added.
Method B: Tap "Rapid Add 5 Rows" → "Hide Sheet" → "Rapid Add 5 Rows".
A link to a Gist, an Expo Snack or a link to a repository based on this template that reproduces the bug.
https://github.com/AlsaadAhamed4/rngh-v3-crash-repo
Gesture Handler version
3.0.0
React Native version
0.85.3
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
New Architecture (Fabric)
Build type
Debug mode
Device
Real device
Device model
iPhone 15 (iOS 26.5)
Acknowledgements
Yes
Description
Upgrading from
react-native-gesture-handler@2.31.2to3.0.0causes a SIGABRT crash on both iOS and Android (Fabric / New Architecture). The crash is a Yoga layout assertion failure triggered during layout ofRNGestureHandlerDetectorShadowNode.The crash occurs when dynamically inserting
ReanimatedSwipeablerows into aFlatListwhile a@gorhom/bottom-sheet(which usesGestureDetectorinternally) is rendered as a sibling in the same parent view.This does not occur on
react-native-gesture-handler@2.31.2.Steps to reproduce
npm install && cd ios && pod install && cd ..npx react-native run-ios(on a physical device)Method A: Tap "Start Recording" → "Stop" repeatedly. Crash occurs around the 12th record being added.
Method B: Tap "Rapid Add 5 Rows" → "Hide Sheet" → "Show Sheet" → "Rapid Add 5 Rows".
A link to a repository that reproduces the bug
https://github.com/AlsaadAhamed4/rngh-v3-crash-repo
Gesture Handler version
3.0.0
React Native version
0.85.3
Platforms
iOS, Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
New Architecture (Fabric)
Build type
Debug mode
Device
Real device
Device model
iPhone
Acknowledgements
Yes
Steps to reproduce
Method A: Tap "Start Recording" → "Stop" repeatedly. Crash occurs around the 12th record being added.
Method B: Tap "Rapid Add 5 Rows" → "Hide Sheet" → "Rapid Add 5 Rows".
A link to a Gist, an Expo Snack or a link to a repository based on this template that reproduces the bug.
https://github.com/AlsaadAhamed4/rngh-v3-crash-repo
Gesture Handler version
3.0.0
React Native version
0.85.3
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
New Architecture (Fabric)
Build type
Debug mode
Device
Real device
Device model
iPhone 15 (iOS 26.5)
Acknowledgements
Yes