LinkedInAttic / hopscotch

A framework to make it easy for developers to add product tours to their pages.
Apache License 2.0
4.19k stars 661 forks source link

nextOnTargetClick doesn't work while animating in. #368

Open ditproz opened 6 years ago

ditproz commented 6 years ago

I am using nextOnTargetClick on my tour, however I find that it fails to activate if the user clicks the button quickly.

image

In the case where the user starts the tour, the first step comes into focus (animating). If the user clicks (b) too quickly (while (a) is still animating), it doesn't force the tour onto the next step. However if they wait until the animation is finished, it works flawlessly.

Is there any way to remedy this issue?

NB: By animate, is simply mean fading into the UI.