LinkedInAttic / hopscotch

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

How would I implement a way to cancel the tour if the user navigates away? #363

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi,

I'm currently working on an in-depth tour of my site across multiple pages, and have ran into an issue that I am unsure how to avoid.

I'm not aware of a way to cancel the tour if the user clicks a different link that Hopscotch is not expecting, which takes them to a page that is not part of the tour.

Is there any way I could achieve this?

Thanks.