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

Cannot assign attributes to <router-view> when using <transition> and <keep-alive> #674

Closed
dneuschaefer-rube opened this issue Dec 23, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@dneuschaefer-rube
Copy link
Contributor

Version

4.0.1

Reproduction link

https://codesandbox.io/s/inspiring-carson-bjbmm

Steps to reproduce

I ran into an issue with <router-view> not rendering any content, and narrowed it down to a combination of 3 factors:

  • using <transition>
  • using <keep-alive>
  • assigning an attribute to <router-view>, e.g. "class" or "style"

What is expected?

<router-view> renders content

What is actually happening?

When combining all of these, <router-view> renders the content initially, but renders nothing anymore after navigation. It works fine when doing at most 2 of the things mentioned above.

@posva posva added the bug Something isn't working label Dec 24, 2020
@posva posva closed this as completed in 1e58574 Dec 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants