software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
8.61k stars 1.26k forks source link

android list item layout animation #6077

Open exploIF opened 1 month ago

exploIF commented 1 month ago

Summary

Previously Android flat list items that were rendered out of the screen weren't animated at all. This caused some issues like this one. This PR should allow animating Android components that are rendered out of the screen.

Note

There are still some issues with itemLayoutAnimation for the last element on the list. This issue is related to the fact that when removing elements from the list, flat list component is changing its size before layout animation finishes., but that's general issue (both iOS and Android).

Test plan