-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Inverted Flatlist not working when scrolled #44151
Copy link
Copy link
Closed
Labels
Component: FlatListIssue: Author Provided ReproThis issue can be reproduced in Snack or an attached project.This issue can be reproduced in Snack or an attached project.PartnerResolution: FixedA PR that fixes this issue has been merged.A PR that fixes this issue has been merged.Type: New ArchitectureIssues and PRs related to new architecture (Fabric/Turbo Modules)Issues and PRs related to new architecture (Fabric/Turbo Modules)p: Software MansionPartner: Software MansionPartner: Software Mansion
Metadata
Metadata
Assignees
Labels
Component: FlatListIssue: Author Provided ReproThis issue can be reproduced in Snack or an attached project.This issue can be reproduced in Snack or an attached project.PartnerResolution: FixedA PR that fixes this issue has been merged.A PR that fixes this issue has been merged.Type: New ArchitectureIssues and PRs related to new architecture (Fabric/Turbo Modules)Issues and PRs related to new architecture (Fabric/Turbo Modules)p: Software MansionPartner: Software MansionPartner: Software Mansion
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
On new arch, when FlatList is inverted, after scrolling the elements don't fire their
onPresssince 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 infoStacktrace or Logs
Reproducer
https://github.com/WoLewicki/reproducer-react-native/tree/%40wolewicki/flatlist-inverted
Screenshots and Videos
No response