-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
bugSomething isn't workingSomething isn't workinghas PRThis issue has already a PR with pending reviewsThis issue has already a PR with pending reviewshas workaroundA workaround has been found to deal with the issueA workaround has been found to deal with the issue
Description
Reproduction
https://codesandbox.io/s/epic-dew-cgwffy
Steps to reproduce the bug
- Click on login
- Click on logout
- Click on the browser back button
Expected behavior
After the router intercepts the route, the new URL should be the one I am returning on the beforEach
callback.
Actual behavior
The URL is staying as the one it was redirected from.
Additional information
In my actual app, no matter how many times I hit the back button, the URL stays on the route that the router redirected from i.e. the from.fullPath
from the beforeEach
guard.
I am using version 4.2.1 on my app.
It seems it's the same as #916, and the temporal fix also works in this case. The implemented fix (#921) however, doesn't to solve my situation.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghas PRThis issue has already a PR with pending reviewsThis issue has already a PR with pending reviewshas workaroundA workaround has been found to deal with the issueA workaround has been found to deal with the issue
Type
Projects
Status
✅ Done