Inverted Flatlist not working when scrolled #44151
Labels
Component: FlatList
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
p: Software Mansion
Partner: Software Mansion
Partner
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
On new arch, when FlatList is inverted, after scrolling the elements don't fire their
onPress
since the information about their position must be calculated wrongly. There is probably a bug with this method:react-native/packages/react-native/ReactCommon/react/renderer/components/scrollview/ScrollViewShadowNode.cpp
Line 69 in ddc9bd1
FlatList
.Steps to reproduce
React Native Version
0.73.6
Affected Platforms
Runtime - Android
Runtime - iOS
Areas
Fabric - The New Renderer
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/WoLewicki/reproducer-react-native/tree/%40wolewicki/flatlist-inverted
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: