Skip to content

Animation stopped when I navigate between screen #119

@donatello-duel

Description

@donatello-duel

Hi, I'm facing something weird.
I implemented animation component using react-lottie-player.
It looks working well but I found something weird.
When I navigate on other screen and then come back to animation screen, my animation is freeze.
I am not sure why this happens.
Could you help me with this?
<Lottie animationData={animationData} play={play} onLoopComplete={() => { setPlay(false); }} />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions