react-lottie icon indicating copy to clipboard operation
react-lottie copied to clipboard

Click on the component will stop animation

Open raymanhjn opened this issue 5 years ago • 9 comments

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

raymanhjn avatar May 23 '19 06:05 raymanhjn

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

igorcoccozup avatar May 24 '19 12:05 igorcoccozup

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

For example <Lottie isClickToPauseDisabled={true}/>

andrewbdesign avatar Jun 05 '19 05:06 andrewbdesign

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

Solved my problem.

php7webmob avatar Jul 30 '19 05:07 php7webmob

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!

raymanhjn avatar Aug 19 '19 03:08 raymanhjn

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

I don't see it there.

davebrewer avatar Mar 11 '20 15:03 davebrewer

Anyone else feels like this is an unexpected default?

dowrow avatar Dec 25 '20 21:12 dowrow

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)

mosesoak avatar Apr 23 '21 20:04 mosesoak

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

duplixx avatar May 08 '22 09:05 duplixx

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

drawkcin avatar Jun 02 '23 23:06 drawkcin