-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Event complete isn't called in case of last steps skipped #1353
Comments
@thomasguittonneau I don't understand the issue here. |
For my case, i have 5 steps and the last step have showOn option who return false. In a case who user use next() function it's calling show but if shouldSkipStep = true it's calling _skipStep function But if this skipped step is the last, _skipStep call show function on inexsitant step. It's closing the modal Maybe this can fix this problem ?
|
@thomasguittonneau definitely seems like an edge case we are not accounting for. We will think about a fix. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
I'm working with shepherd but in my case sometimes last elements are skipped.
in this case, the completed event is never called.
Maybe we can modify function _skipStep to check if the skippedStep is the last step.
(Like next function)
The text was updated successfully, but these errors were encountered: