-
-
Notifications
You must be signed in to change notification settings - Fork 961
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
Feature Req: Provide more control on Next/Previous Handlers #48
Comments
So basically you want to have delays/event-occurene between two steps ? |
Hey, we already have the hooks to manipulate but this is out of the scope. Ideally, you should not have the animation when the |
Yeah, so I tried to "dumb down" the use case a bit Basically, imagine clicking a toolbar where clicking a button would show/hide different content in a panel. So I would start the tour with the default state, describing a thing or two, then on "next" I would need to trigger an event so that the UI would change and the tour would proceed. I can make use of onHighlightStarted/onDeselected, but the problem is that even then, the callback is called to quickly and the DOM doesn't have time to change , so Driver is trying to highlest an element that doesn't exist yet Is that clearer? |
I think this should not have been closed. This is a very cool Feature Request! EDIT: NVM i've seen the docs provide a "preventMove" for exactly this function! Nice library. |
In "Tour Mode", I would need to call a function on a step's next, and deffer highlighting the next element until some time (think async function/promise/observable/etc.)
Use Case:
Right now, the "tour" is broken because it cannot find the yet-to-be-shown element
The text was updated successfully, but these errors were encountered: