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
When using a ScrollView inside a formSheet modal on iOS (react-navigation, react-native-screens), when dragging to dismiss the modal, (sometimes) the app crashes with *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Inconsistency between local and UIKit touch registries'.
(Might be issue in react-navigation/rn-screens but posting here since it's react-native/React/Fabric/RCTSurfaceTouchHandler.mm:206 that crashes it.)
Note: I can only re-produce this with latest xcode beta and iOS 26 - can't reproduce on iOS 18.
Steps to reproduce
Run the reproducer, open the modal, scroll to close (when scrollview has been scrolled) - in some situations it will crash.
React Native Version
0.81.0
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of npx @react-native-community/cli info
System:
OS: macOS 15.5
CPU: (16) arm64 Apple M4 Max
Memory: 100.09 MB / 64.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.12.0
path: ~/.nvm/versions/node/v22.12.0/bin/node
Yarn:
version: 4.9.2
path: ~/.nvm/versions/node/v22.12.0/bin/yarn
npm:
version: 10.9.0
path: ~/.nvm/versions/node/v22.12.0/bin/npm
Watchman:
version: 2025.04.28.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/mn/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.5
- iOS 18.5
- macOS 15.5
- tvOS 18.5
- visionOS 2.5
- watchOS 11.5
Android SDK:
API Levels:
- "30"
- "31"
- "32"
- "33"
- "34"
- "35"
Build Tools:
- 33.0.0
- 34.0.0
- 35.0.0
System Images:
- android-33 | Google APIs ARM 64 v8a
- android-35 | Google Play ARM 64 v8a
- android-35 | Pre-Release 16 KB Page Size Google Play ARM 64 v8a
- android-35 | Pre-Release 16 KB Page Size Google APIs ARM 64 v8a
- android-36 | Google Play ARM 64 v8a
- android-36 | Pre-Release 16 KB Page Size Google Play ARM 64 v8a
Android NDK: 22.1.7171670
IDEs:
Android Studio: 2024.3 AI-243.26053.27.2432.13536105
Xcode:
version: 16.4/16F6
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.4.1
path: /Users/mn/.sdkman/candidates/java/current/bin/javac
Ruby:
version: 2.7.5
path: /Users/mn/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 20.0.0
wanted: 20.0.0
react:
installed: 19.1.0
wanted: 19.1.0
react-native:
installed: 0.81.0
wanted: 0.81.0
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Description
When using a ScrollView inside a formSheet modal on iOS (react-navigation, react-native-screens), when dragging to dismiss the modal, (sometimes) the app crashes with *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Inconsistency between local and UIKit touch registries'.
(Might be issue in react-navigation/rn-screens but posting here since it's react-native/React/Fabric/RCTSurfaceTouchHandler.mm:206 that crashes it.)
Note: I can only re-produce this with latest xcode beta and iOS 26 - can't reproduce on iOS 18.
Steps to reproduce
Run the reproducer, open the modal, scroll to close (when scrollview has been scrolled) - in some situations it will crash.
React Native Version
0.81.0
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of
npx @react-native-community/cli infoStacktrace or Logs
MANDATORY Reproducer
https://github.com/mvrty/rct-surface-touch-handler-issue
Screenshots and Videos
rctoutput.mov