ngx-joyride
ngx-joyride copied to clipboard
First item of Tour inside of *ngIf element
I need to have steps which are inside a *ngIf element. Right now I'm getting the error: "ngx-joyride:::Forcing the tour closure: First or Last step not found in the DOM.". Is there a way to setup joyride to be compatible with *ngIf? I didn't find a way yet.
As a workaround, you can set waitingTime option to 100ms
As a workaround, you can set waitingTime option to 100ms
That isn't going to work for larger applications. I have to go all the way out to two seconds and because we can't set individual step waiting times yet, that's an unacceptable user experience.
Edit: For a workaround I wrapped the entire template in a div and set that as the first step with a corny welcome message. Less than ideal but it solves the problem.
hello ngx-joyride:::Forcing the tour closure: First or Last step not found in the DOM.