Skip to content

Tag: lottie

React Native Lottie Animation Only Plays On First Tap

So essentially, I want to play the lottie animation everytime it is tapped. Here is my UI code for the lottie animation: Here is my state code for the lottie animation: On the first tap, the animation play perfefctly fine. But on all other taps, the animation won’t play. I tried pausing the animation in the onAnimationFinish and then resuming