-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
abstract mode's router.back() fails if there are 2 consecutive same routes in history stack #2607
Closed
rocka opened this issue
Feb 8, 2019
· 1 comment
· Fixed by mariazevedo88/hash-generator-js#5, noprotocol/Bubblicious#3, tghelere/valorize-vidas#4, tghelere/DeliVuery#18 or tghelere/dailymages#2
Closed
abstract mode's router.back() fails if there are 2 consecutive same routes in history stack #2607
rocka opened this issue
Feb 8, 2019
· 1 comment
· Fixed by mariazevedo88/hash-generator-js#5, noprotocol/Bubblicious#3, tghelere/valorize-vidas#4, tghelere/DeliVuery#18 or tghelere/dailymages#2
Comments
posva
changed the title
abstract mode's router.back() was aborted when there are 2 same routes in history stack
abstract mode's router.back() fails if there are 2 consecutive same routes in history stack
Mar 26, 2019
Facing same issue! |
Domino9697
added a commit
to Domino9697/vue-router
that referenced
this issue
May 17, 2019
Fix abstract mode's router.back() when 2 consecutive same routes appear in the history stack array fix vuejs#2607
posva
pushed a commit
to Domino9697/vue-router
that referenced
this issue
Jul 5, 2019
Fix abstract mode's router.back() when 2 consecutive same routes appear in the history stack array fix vuejs#2607
This was referenced Aug 29, 2019
This was referenced Sep 30, 2019
This was referenced Oct 26, 2019
This was referenced Jan 20, 2020
This was referenced Feb 5, 2020
[Snyk] Upgrade vue-router from 3.0.1 to 3.1.4
michaelwybraniec/vue-vuex-jwt-authentication-example#2
Open
This was referenced Mar 4, 2020
This was referenced Mar 24, 2020
This was referenced Apr 15, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.0.2
Reproduction link
https://jsfiddle.net/Rocka/bhu5vkn8/3/
Steps to reproduce
10. artist
togglePlayer
10. artist
back
2 timesWhat is expected?
route back to
/search
What is actually happening?
nothing happend, route and route-view do not change
'cause I didn't figure out how to determine wether the route is going forward or backword, I decided to use
abstract
mode and traverse the router stack to find out which direction the route is going, then hit into this bug. The demo works fine if change router's mode tohash
orhistory
.The text was updated successfully, but these errors were encountered: