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'm using FlashList to render a list that flows under the device's safe area in combination with a sticky header. However, the sticky header does not respect the safe area insets and therefore gets stickied at top: 0 under the safe area.
Current behavior
I'm using FlashList to render a list that flows under the device's safe area in combination with a sticky header. However, the sticky header does not respect the safe area insets and therefore gets stickied at
top: 0
under the safe area.This can be seen on my demo:
flashlist.sticky.header.mp4
The main issue comes from:
Expected behavior
In contrast, swapping
FlashList
forFlatList
produces the correct behaviour:flatlist.sticky.header.mp4
To Reproduce
I've created a minimal reproduction here:
https://github.com/bryanmylee/flashlist-sticky-inset-demo
Platform:
Environment
1.7.2
The text was updated successfully, but these errors were encountered: