Open ptrussart opened 7 years ago
i'm debugging
hey @ptrussart, it was really bug, thanks for providing the plunkr.
i was improving the ngIntro adding the service, and while i did that i fixed the problem.
it's available on the coming release (3.1.1)
i forked your plunkr and updated to 3.1.1 : http://plnkr.co/edit/3M4aOLlSOyfbGS6vgqxG?p=preview
Hello,
I have found a problem using the
nextStep()
function in theBeforeChangeEvent
function.If I try to skip a step to call the next one, the text displayed in the intro tooltip is the one from the previous step. It seems to me that when we call the next step, the tooltip text is not updated.
I have made a plunker to show the issue : http://plnkr.co/edit/LXuLY6p52ytr8tMihQm7?p=preview .
You can try : go to step 2, it will trigger a nextStep(). You should see the text from step 3 but instead you will see text from step 2.
I have tried to reproduce the issue by using only intro.js (without angular) but it works so I think the issue is coming from angular-intro. Do you have any idea why ?