HiDeoo/intro.js-react

onExit: The intro is exiting by itself

Closed this issue · 5 comments

Describe the bug

The application starts and just triggers the onExit function in the functional component. I have added a callback too but its still having the same issue.

To Reproduce

I can provide you the code

Expected behavior

onExit should be triggered when the callback is called. When the state is updated on the hard reload the intro works fine. I have removed and added callbacks to check the behavior.

How often does this bug happen?

Every time

System Info

No response

Additional Context

No response

I can provide you the code

It would indeed be pretty neat to have a repro, if you could provide one on codesandbox.io for example as I'm not sure I really understand the issue.

https://javascript.plainenglish.io/react-js-onboarding-using-intro-js-4b03aa2f584e

Following this link. Whenever the app runs the tour gets closed by itself.

javascript.plainenglish.io/react-js-onboarding-using-intro-js-4b03aa2f584e

I don't see any sandbox where I can see your code with the bug you are describing and play with it in this article, am I missing something?

If you don't know where to setup your repro and share your code, you can use codesandbox.io for example.

Okay I will attach the link by tomorrow

Closing due to lack of activity.