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
Trying to render array of items(data array). Items are sorted depending on their inclusion in another array(favorites array).
This causes Possible stateid collision when adding\removing items from favorites array. Collisions error can be fixed with copying and data array each time, however this causes RecyclerListView animation render during pagination errors. Bug is unique to flashlist and is not present on FlatList\Reanimated FlatList.
Expected behavior
Items sort correctly without errors.
To Reproduce
Click on random items. Observe stableid collision error.
Reload, click multiple times on first item, observe it not changing color as it should.
Uncomment lines in removeItem and addItem. Observe stableid collision not happening anymore.
(optional) Replace FlashList with FlatList or Animated.FlatList — non of the issues above are reproducable.
Same here, I can reproduce this issue even without removing items, just by animating an item this issue occurs, the app freezes. I believe that's something to do with the item size/location.
EDIT: I reproduced this issue on Android, and the animation was size related, like an expansive box.
Current behavior
Trying to render array of items(data array). Items are sorted depending on their inclusion in another array(favorites array).
This causes
Possible stateid collision
when adding\removing items from favorites array. Collisions error can be fixed with copying and data array each time, however this causesRecyclerListView animation render during pagination
errors. Bug is unique to flashlist and is not present on FlatList\Reanimated FlatList.Expected behavior
Items sort correctly without errors.
To Reproduce
removeItem
andaddItem
. Observe stableid collision not happening anymore.Platform:
Environment
"@shopify/flash-list": "1.7.1",
"react-native": "~0.74.5",
"expo": "~51.0.30",
The text was updated successfully, but these errors were encountered: