Update FlashList layout on data change #716
Pietro-Putelli
started this conversation in
General
Replies: 1 comment
-
The layout animation methods help with layout animations. There's no need to call them when updating data. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, I'm using FlashList for different purposes in my app and I'm struggling with layout update.
If, for example I refresh a list and remove some items, it remains a blank space and the layout is not updated.
Do I need to use invoke these methods every time I change the data prop hence update the layout of the list?
Or is there an alternative solution?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions