Touch events unresponsive for flexible child Views in ScrollView component under React Native new architecture #47740
Labels
Component: ScrollView
Needs: Triage 🔍
Newer Patch Available
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
There is an issue with the touch events in a ScrollView when using the new architecture. Specifically, below a ScrollView, there is a View component with a minWidth of 100%. Inside this View, there are three child View components, each set with flexGrow: 1, flexShrink: 1, and flexBasis: "25%". The last two child View component does not respond to the touchstart event under the new architecture, while it works fine in the old architecture.
Steps to reproduce
Expected Result:
The last two child View components should respond to the touchstart event.
Actual Result:
The last two child View components do not respond to the touchstart event when using the new architecture, while this issue does not occur in the old architecture.
React Native Version
0.74.3、0.75.2、0.76.2
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/yandadaFreedom/rn-original-scrollview
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: