Bug Report
Version: 1.7.3
Platform: Android 14 (API 34)
React Native: 0.74.1
Description
FlashList throws TypeError: Cannot read property "height" of undefined when stickyHeaderIndices is used alongside estimatedItemSize on Android 14. Works fine on Android 13 and iOS.
Steps to Reproduce
- Set
stickyHeaderIndices={[0]}
- Set
estimatedItemSize={80}
- Scroll rapidly to bottom on Android 14 emulator
- Observe crash
Crash Log
TypeError: Cannot read properties of undefined (reading "height")
at RecyclerView.updateLayout (RecyclerView.tsx:234)
at FlashList._onLayout (FlashList.tsx:412)
Expected
Smooth scroll with sticky header pinned at top.
Actual
Crash on first scroll gesture.
Bug Report
Version: 1.7.3
Platform: Android 14 (API 34)
React Native: 0.74.1
Description
FlashList throws
TypeError: Cannot read property "height" of undefinedwhenstickyHeaderIndicesis used alongsideestimatedItemSizeon Android 14. Works fine on Android 13 and iOS.Steps to Reproduce
stickyHeaderIndices={[0]}estimatedItemSize={80}Crash Log
Expected
Smooth scroll with sticky header pinned at top.
Actual
Crash on first scroll gesture.