Closed n-ii-ma closed 1 year ago
that kind of behavior isn’t possible, since the animate presence element is getting unmounted too. you could try reanimated layout animations if you’re on reanimated v3.
alternatively, you can do a normal list instead of a flatlist, have a single animate presence at the root, and give each direct child a unique key. that’ll work too.
I see.
Would love to see Moti integrating reanimated v3 soon.
moti should work with it out of the box
Is there an existing issue for this?
Current Behavior
When trying to animate the mounting/unmounting of a list of items, the mounting animation (
from
) works as expected but the unmounting animation (exit
) isn't.Expected Behavior
Unmount item with exiting animation.
Steps To Reproduce
Just try to animate the rendering of a list of items with
FlatList
and notice the item's behavior upon deleting an item:.....
Versions
Screenshots
No response
Reproduction