Open regexj opened 2 years ago
I'm facing the same issue.
Also interesting is, if you have a setup like this:
[ { target: '.available-target', content: 'Some content' }, { content: 'Some other content' }, { target: '.available-target', content: 'Some more content' } ]
The first step works fine, showing the popper on the .available-target. The second step also works fine, showing the popper centered. If you now either go back or go forwards, the popper won't show up anymore, so the sticky box doesn't only break anything ahead in steps, but also previous steps if you go back.
yes running into the same behaviour
any solutions?
Same problem, appears to be related to #175 / #51
I got the same problem. Is it possible that the step connot be destroyed properly because of the missing target element? This error seems to suggest something like that.
Describe the bug If you don't provide a target to a step it will load the tour box in the middle of the screen. This is perfect for a "welcome and take the tour" type UI box and I wish to take advantage of that. The only problem is that if you do this, the tour then fails to display every subsequent step after the one without a target. Very annoying.
To Reproduce Steps to reproduce the behavior:
Expected behavior To continue the tour and correctly display the tour box targeting the relevant element.
Screenshots
Additional context Viewing the screenshots above you can see in the second one via the debug log that it correctly finds the target element. It just somehow doesn't display the tour box.