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 more than one FlatLists are rendered together in a View side-by-side, one of the FlatLists does not observe its snapToOffsets (or snapToInterval).
It appears to be related to the FlatList layout because setting certain fixed widths on one/both of the FlatLists can shift the problem to the other FlatList or fix the issue entirely, though I have not been able to work out any pattern as to why certain widths change the behaviour.
Steps to reproduce
Run the Expo Snack on an iOS device (not emulator).
Scroll each FlatList and notice how one snaps and the other does not (despite them being identical).
Description
When more than one FlatLists are rendered together in a View side-by-side, one of the FlatLists does not observe its snapToOffsets (or snapToInterval).
It appears to be related to the FlatList layout because setting certain fixed widths on one/both of the FlatLists can shift the problem to the other FlatList or fix the issue entirely, though I have not been able to work out any pattern as to why certain widths change the behaviour.
Steps to reproduce
React Native Version
0.76.6
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/@nuumi/flatlist-snap-issue
Screenshots and Videos
WhatsApp.Video.2025-02-05.at.16.15.32.mp4
The text was updated successfully, but these errors were encountered: