mendhak / angular-intro.js

AngularJS directives for intro.js
http://code.mendhak.com/angular-intro.js/
GNU Affero General Public License v3.0
504 stars 175 forks source link

calling nextStep does not update the intro text. #99

Open ptrussart opened 7 years ago

ptrussart commented 7 years ago

Hello,

I have found a problem using the nextStep() function in the BeforeChangeEvent 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 ?

millerscout commented 7 years ago

i'm debugging

millerscout commented 7 years ago

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