Open zjkuang opened 2 years ago
FlashList does skip the first frame to measure itself. If you already have an estimate you can pass it through estimatedListSize
prop and content will render immediately.
@naqvitalha I also start using FlashList and even with estimatedListSize I have blank screen and then after scrolling i have my listItems
@naqvitalha Faced the same issue with blank content on iOS when I use the FlashList within the BottomSheet. Steps to reproduce:
Case 1:
Case 2:
flashListRef.scrollToOffset({ offset: 0, animated: true })
hope it may help you to figure out the nature of the issue
I am also facing same kind of issue in android. UI components passed to the renderItem is not rendered completely.
Current behavior
Sometimes we got an empty page with FlashList. We used the Component Inspector to check the component hierarchy shown as below:
Expected behavior
It should show the contents provided by the data source.
To Reproduce
It is not reproducible every time, which makes it seem like a race condition.
Platform:
Environment
@shopify/flash-list 1.2.2