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
I updated react-native-gesture-handler from version 2.32.0 to 3.1.0 and noticed that some Flatlists in my app stopped scrolling, both in Android and iOS. The issue seems to be related to the property stickyHeaderIndices. LegacyFlatlists do not suffer from this issue, so this appears to be either a regression in the new implementation or a migration step that isn't documented or that I may have overlooked.
Android Emulator video
android.webm
Steps to reproduce
Download the flatlist-no-scroll branch from the example repo
Run the app in either IOS or Android
Scroll both lists provided in the example
You will notice the Flatlist scroll indicator will update but not the content of the list, LegacyFlatlist should work as expected.
Description
I updated react-native-gesture-handler from version 2.32.0 to 3.1.0 and noticed that some Flatlists in my app stopped scrolling, both in Android and iOS. The issue seems to be related to the property stickyHeaderIndices. LegacyFlatlists do not suffer from this issue, so this appears to be either a regression in the new implementation or a migration step that isn't documented or that I may have overlooked.
Android Emulator video
android.webm
Steps to reproduce
flatlist-no-scrollbranch from the example repoFlatlistscroll indicator will update but not the content of the list,LegacyFlatlistshould work as expected.A link to a Gist, an Expo Snack or a link to a repository based on this template that reproduces the bug.
https://github.com/gitChaoslord/rn-gesture-handler-issues
Branch in question
example/flatlist-no-scrollhttps://github.com/gitChaoslord/rn-gesture-handler-issues/tree/example/flatlist-no-scroll
Gesture Handler version
3.1.0
React Native version
0.86.0
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
New Architecture (Fabric)
Build type
Debug mode
Device
Android emulator
Device model
No response
Acknowledgements
Yes