Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

calling nextStep does not update the intro text. #99

Open
ptrussart opened this issue Dec 12, 2016 · 2 comments
Open

calling nextStep does not update the intro text. #99

ptrussart opened this issue Dec 12, 2016 · 2 comments
Labels

Comments

@ptrussart
Copy link

ptrussart commented Dec 12, 2016

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
Copy link
Collaborator

i'm debugging

@millerscout millerscout added the bug label Mar 4, 2017
@millerscout
Copy link
Collaborator

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants