Skip to content
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

nested keep-alive and router-view render last route path component not current route component #3096

ctwowt opened this issue Jan 13, 2020 · 1 comment


Copy link

@ctwowt ctwowt commented Jan 13, 2020



Reproduction link

Steps to reproduce

see gif or
click buttons:
Home -> -> Home -> a.aa.bbb

What is expected?

router-view working correctly

What is actually happening?

router-view render last route component not current route path component

inactive = true

But I Change code

if (vnodeData.keepAlive && parent._inactive) {
     inactive = true


if (vnodeData.keepAlive) {
    inactive = parent._inactive

It's working.



This comment has been minimized.

Copy link

@posva posva commented Jan 13, 2020

Duplicate of #2923
The opened PR does apply the same fix #2930
I will apply the changes and release them during the week

@posva posva closed this Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.