-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
Version
3.6.5
Reproduction link
I can't provide it since I don't know how to stably reproduce the issue. Hope on some magical guess only.
Steps to reproduce
I have no idea how to reproduce it, even with my application I can't stably reproduce the issue. A couple of days ago I upgraded vue-router
from 3.1.3
to 3.6.5
together with vue
upgrade from 2.6.4
to 2.7.13
. Also, I can see the issue only with the production build.
When the issue takes place, navigation guards beforeEach
, beforeResolve
, afterEach
are not triggered.
UPD: When I use new tab, I use URL https://site.com and internal logic redirects me to https://site.com/en and at that moment router becomes broken for some reason. When I just refresh page, URL already contains locale prefix and router doesn't crash.
What is expected?
Vue-router always reacts on browser history back.
What is actually happening?
In some circumstances, vue-router stops reacting to browser history back, but <router-link>
s (and hence router.push
) continue working.
Any ideas?