Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please update the readme.md or set isClickToPauseDisabled true; #110

Open
luther-nwpu opened this issue Feb 23, 2020 · 4 comments
Open

Comments

@luther-nwpu
Copy link

we don't know that clicking the lottie makes it paused。So please tell us this param( isClickToPauseDisabled) or give me the onClick method

@lazysergey
Copy link

lazysergey commented Mar 2, 2020

dude try @crello/[email protected] - you can use onClick method for wrapper and set whatever params you want. check out examples - there is one with pause

@donovanclarke
Copy link

I think keeping it defaulted to false is best, and leaving it as an opt in feature best.

@Skedush
Copy link

Skedush commented Jul 23, 2021

please tell us this param( isClickToPauseDisabled) or give me the onClick method

@abhinavchawla13
Copy link

@Skedush, for now, I just set css for pointerEvents to none like to stop the clicking and pausing:

<Lottie options={lottieOptions} width={72} style={{ pointerEvents: 'none' }} />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants