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
themoenen opened this issue Jul 1, 2021 · 1 comment
Closed

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

themoenen opened this issue Jul 1, 2021 · 1 comment

Comments

@themoenen
Copy link

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 commented Jul 1, 2021

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

@posva posva closed this as completed Jul 1, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants