stop animation at start doesn't work
reynaldysaputra opened this issue · 1 comments
reynaldysaputra commented
Hi there,
I've tried some animations in react-lottie-web but why does autoplay keep running animations? I have set it to false but the animation doesn't stop early, how do I stop the animation before starting the action?
Rassibassi commented
Try to also set isStopped
to true
. Had the same issue, but that solved it.
<Lottie
isStopped={true}
options={{
animationData: data,
loop: false,
autoplay: false
}}
/>