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
Yes, this is a bug of FlatList. After remove a index value from flatlist array, then rendering item some view is missing. Re-render is breaking in many portion.
Remove one item index from array which provide in FlatList view.
After remove render view break or hide for some item not for all item.
After refresh the view render issue will be same.
Expected Behavior
Rener view will be same as before and after remove index from flalist array item. No view will be changes if we delete index or add a new index in middile or in end or in start.
Actual Behavior
First time array item in FlatList is showing properly.
When we delete one index value from array FlatList item some view will hide.
After close app again open the app then its again works fine.
Why auto render will not working and also not working when doing pull to refresh.
But it's working fine for loadmore item render.
Please provide any solution for this FlatList view, maybe flatlist store old data and we should delete old data store. But don't know how to remove the old data store history form flatlist.
The text was updated successfully, but these errors were encountered:
I just encountered with this yesterday. My solution is to set a height in your items inside the FlatList. So, basically, there is some wrong about height calculation when your view gets rerendered. Maybe FlatList can have some better internal height calculation schemes?
@fatwhale we solve our problem. Their is some view star and ending problem. And also some styling problem. For this kind of issue of view and style some view will missing after delete array from flatlist and some view will be extra exist.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.
stalebot
added
the
Stale
There has been a lack of activity on this issue and it may be closed soon.
label
Dec 9, 2017
Is this a bug report?
Yes, this is a bug of FlatList. After remove a index value from flatlist array, then rendering item some view is missing. Re-render is breaking in many portion.
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: iOS, Android
Packages:
"react-native": "^0.44.0",
"react": "16.0.0-alpha.6",
Steps to Reproduce
Expected Behavior
Rener view will be same as before and after remove index from flalist array item. No view will be changes if we delete index or add a new index in middile or in end or in start.
Actual Behavior
Please provide any solution for this FlatList view, maybe flatlist store old data and we should delete old data store. But don't know how to remove the old data store history form flatlist.
The text was updated successfully, but these errors were encountered: