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

The last slide is not the last #383

Open
vanyauhalin opened this issue Jul 4, 2022 · 0 comments
Open

The last slide is not the last #383

vanyauhalin opened this issue Jul 4, 2022 · 0 comments

Comments

@vanyauhalin
Copy link

Even after the last slide, the next event keeps incrementing the counter. Locally, I added the code below (from the prev event) to the event callback, and it solved my problem.

if (activeIndex === -1 || activeIndex === innerSteps.length) return;

But I didn't delve into the codebase, so maybe this solution is wrong.

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