Replies: 1 comment 1 reply
-
Did you manage to find any hints? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone.
As explained in the docs about
onLoad()
, in first cycle ofFlashList
no items will be seen. This is because the items will first figure out their height, before anything will be visible to the user.This results in a visible flash of no content for brief time before the items arrive.
Previously I've used
ScrollView
in my app to handle content (yes, I do know this is very bad practice). In that case it would initially take longer to do a screen transition, but the content would then be there immediately, resulting in a nicer experience, in my opinion.My question is: What are some common ways to deal with this flash of no content?
I figured that perhaps a loading indicator could be used, or as with the Shop app, "blank placeholder" graphics are used to wait in the rendering.
If these two things are the recommended practice, how would one go ahead and implement this in the best way?
Also, I'm testing with production build.
Beta Was this translation helpful? Give feedback.
All reactions