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

Click on the component will stop animation #81

Open
raymanhjn opened this issue May 23, 2019 · 9 comments · May be fixed by #122
Open

Click on the component will stop animation #81

raymanhjn opened this issue May 23, 2019 · 9 comments · May be fixed by #122

Comments

@raymanhjn
Copy link

Is that purposed to stop the animation when simply click on that? How should I set up to avoid this situation?

@igorcoccozup
Copy link

I have the same issue on my animation, whenever I click on it, it will kinda pause/freeze.

@andrewbdesign
Copy link

andrewbdesign commented Jun 5, 2019

It was actually addressed here: #53
Just add isClickToPauseDisabled={true} as a prop fixes this issue.

For example
<Lottie isClickToPauseDisabled={true}/>

@php7webmob
Copy link

php7webmob commented Jul 30, 2019

Just noticed that you can omit the {true} in isClickToPauseDisabled={true}
For example: <Lottie isClickToPauseDisabled>

Solved my problem.

@raymanhjn
Copy link
Author

It was actually addressed here: #53
Just add isClickToPauseDisabled={true} as a prop fixes this issue.

For example
<Lottie isClickToPauseDisabled={true}/>

Thank you so much!

@davebrewer
Copy link

Can you add this to the readme page?
isClickToPauseDisabled={true}

I don't see it there.

@dowrow
Copy link

dowrow commented Dec 25, 2020

Anyone else feels like this is an unexpected default?

@dowrow dowrow linked a pull request Dec 26, 2020 that will close this issue
@mosesoak
Copy link

Yes I agree, this is a poor default. Wanting to click an animation to pause it is not an everyday use case, and isClickToPauseDisabled is cumbersome at best.

Suggest that Lottie should remove this default and then add a new option like clickToPause.

(It's also confusing when some options are props, so the suggestion here would improve that)

@duplixx
Copy link

duplixx commented May 8, 2022

please remove this feature as its not good for using in fullscreen window

@drawkcin
Copy link

drawkcin commented Jun 2, 2023

Agreed. I don't think clicking to pause should be default enabled. This should be by default disabled.

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

Successfully merging a pull request may close this issue.

9 participants