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

Router crashes on pages with more than 9 root elements #4037

Closed
shapish opened this issue Jul 1, 2021 · 1 comment
Closed

Router crashes on pages with more than 9 root elements #4037

shapish opened this issue Jul 1, 2021 · 1 comment

Comments

@shapish
Copy link

@shapish shapish commented Jul 1, 2021

Version

3.1.2

Reproduction link

https://codesandbox.io/s/happy-euclid-610gx

Steps to reproduce

Switch multiple times between any page and page C. Error happens on the second time and will break page rendering after 1st element.

What is expected?

No error

What is actually happening?

"Unhandled error during execution of scheduler flush" --> "Cannot read property 'cloneNode' of null"


Problem is related to vue@3.1.2 — downgrading to vue@3.1.1 solves the problem.
Problem can also be worked around by wrapping page content in a div.

Smells the same as #4023, #4031 and #4030

@posva
Copy link
Member

@posva posva commented Jul 1, 2021

Thanks, I added a repro without the router at #4023

@posva posva closed this Jul 1, 2021
yyx990803 added a commit that referenced this issue Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants