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

Multiple tours with different onClickClose and onClickMask #640

Open
Niesyto opened this issue Jul 23, 2024 · 0 comments
Open

Multiple tours with different onClickClose and onClickMask #640

Niesyto opened this issue Jul 23, 2024 · 0 comments

Comments

@Niesyto
Copy link

Niesyto commented Jul 23, 2024

I have a single TourProvider and multiple sets of steps inside it, i display them depending on route. I would like to store the information if the Tour was already viewed in the localstorage, but I need it to be separate for all sets of steps. Is there a way of achieving it? I can't get useTour to override the onClickClose behaviour.

Example
See the link for example. Page1 and Page2 both have some sets of steps,

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

1 participant