When quickly scrolling the sectionList component, the stickySectionHeader displays the wrong component. #51134
Labels
Component: SectionList
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Newer Patch Available
Description
When quickly scrolling the sectionList component, you will notice that the stickySectionHeader displays an incorrect component before switching to another one. In the seventh second of the ios video, you can see that during the fast scrolling, the sticky header changes from section 7 to section 1, then back to section 6. This issue occurs on both Android and iOS.
Steps to reproduce
React Native Version
0.79.0
Affected Platforms
Runtime - iOS、Runtime - Android
Output of
npx @react-native-community/cli info
Stacktrace or Logs
MANDATORY Reproducer
https://github.com/yandadaFreedom/RN-bug-repo/tree/bug-sticky-header
Screenshots and Videos
iOS:
stickheader.MP4
android:
SVID_20250508_113241_1.mp4
The text was updated successfully, but these errors were encountered: