You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this library!
Would it possible to add an option to skip onChange handler when calling goToStep?
In my case, I push a new state to the browser's session history stack (see history) thank to the onChange handler. I don't use hash routing so I can't use the built-in routing.
I have also a listener to popstate event that updates current step (by calling goToStep) when the user clicks on back button for example. In this case, I would like to skip the onChange handler. Otherwise it pushes a new state and breaks the navigation.
Thank you for this library!
Would it possible to add an option to skip
onChange
handler when callinggoToStep
?In my case, I push a new state to the browser's session history stack (see history) thank to the
onChange
handler. I don't use hash routing so I can't use the built-in routing.I have also a listener to
popstate
event that updates current step (by callinggoToStep
) when the user clicks on back button for example. In this case, I would like to skip theonChange
handler. Otherwise it pushes a new state and breaks the navigation.Example:
The text was updated successfully, but these errors were encountered: