Open iamhaaamed opened 6 years ago
Yup. same as me, the animation come out in batches. as a work around, what i did is to put a limit to the index to less than 10 (or any number you think is sufficient). then the animation come out correctly. but not as clean as staggered animation from rn.
Yes, same issue here. How to fix it?
Same here. But i only see this problem in release mode, development is working fine. That's very weird.
For anyone still looking for a solution to this, use createAnimatableComponent
composer.
const AnimView = Animatable.createAnimatableComponent(View);
return (
<FlatList
...
renderItem={({item, index})=>{
<AnimView delay={index*150}>...</AnimView>
}}
/>
)
I want to use react-native-animatable in FlatList that each item in FlatList has different delay in sequence but all items have the same delay.