Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onExit is automatically firing #1845

Closed
irtaza9 opened this issue Jan 2, 2023 · 1 comment
Closed

onExit is automatically firing #1845

irtaza9 opened this issue Jan 2, 2023 · 1 comment

Comments

@irtaza9
Copy link

irtaza9 commented Jan 2, 2023

Describe the bug

I'm using intro.js wrapper for React js in functional components. I'm was debug the component and every time my component renders the onExit callback automatically fired by the library.

To Reproduce

This should be like onChange event or onComplete event, when someone interact with the exit/skip button the event should be call at that time.

Expected behavior

I think this should be resolved in next PR

Ref

Link

How often does this bug happen?

Every time

System Info

OS: Windows (10)
Browser: Chrome
Version 108.0.5359.125 (Official Build) (64-bit)

Additional Context

I created a codesandbox with the behavior of library, you can check the code and add your valuable thoughts in it.

@irtaza9
Copy link
Author

irtaza9 commented Jan 2, 2023

Closing this issue as it is resolved by @HiDeoo on this. You can check the example on this codesandbox

@irtaza9 irtaza9 closed this as completed Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant