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
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I'm trying to cancel out all effects of unsuccessfull route in terms of Browser History.
when I call event.preventDefault() in $locationChangeStart listener, I expect the new History token replace the last one.
I mean right now for this :
Route A--->Route B(prevented)--->route C($location.replace called)
I get:
Route A->Route A
in my browser history.
but if history get replaced when I prevent locationChangeStart, I'll get:
Route A
that seems logical.
Any thoughts?
The text was updated successfully, but these errors were encountered:
I'm trying to cancel out all effects of unsuccessfull route in terms of Browser History.
when I call event.preventDefault() in $locationChangeStart listener, I expect the new History token replace the last one.
I mean right now for this :
Route A--->Route B(prevented)--->route C($location.replace called)
I get:
Route A->Route A
in my browser history.
but if history get replaced when I prevent locationChangeStart, I'll get:
Route A
that seems logical.
Any thoughts?
The text was updated successfully, but these errors were encountered: