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

Tour stops when targets aren't found #9

Closed
GlobalHive opened this issue Dec 11, 2022 · 0 comments · Fixed by #13
Closed

Tour stops when targets aren't found #9

GlobalHive opened this issue Dec 11, 2022 · 0 comments · Fixed by #13
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@GlobalHive
Copy link
Owner

Original issue: lincoln017 - vue-tour#245

I have a five-step tour on a given page where step 3's target might not exist given the underlying data being displayed. Unfortunately, when this occurs, the tour stops and steps 4 and 5 are never executed.

Ideally, vue-tour would provide an option to automatically skip any step where the target isn't found. Alternatively, each step could offer a disabled property which we could set to TRUE prior to launching the tour and upon programmatically determining -- in this case -- target step 3 isn't available.

As it stands, I'll have to programmatically reset the steps each time the page is drawn depending on whether or not step 3 may exist. Is there an easier / better way?

Thanks.

@GlobalHive GlobalHive added bug Something isn't working enhancement New feature or request labels Dec 11, 2022
@GlobalHive GlobalHive self-assigned this Dec 11, 2022
@GlobalHive GlobalHive added this to the Release 1.2.x milestone Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant