You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTML elements suppose to keep same order (Navigation, RouterView, Footer) after navigating between views.
What is actually happening?
HTML elements being rendered in wrong order (Navigation, Footer, RouterView) after navigating between sync (ViewA) and async (ViewB) views.
System Info
No response
Any additional comments?
Ran into an issue after updating Vue to 3.3.10. Looks like it's related related to latest (3.3.10) release changes (#8105) and is most likely not related to Vue Router itself, but rather to async components.
— Issue persists even if I toggling between components programatically, without RouterView.
— Removing timeout property from Suspense gives weird delay but footer stays in place.
— Wrapping Suspense in to div makes Footer to stay in correct order.
The text was updated successfully, but these errors were encountered:
1337huania
changed the title
Since last update Suspense with RouterView
Since last update Suspense with RouterView acting weird
Dec 7, 2023
Vue version
3.3.10
Link to minimal reproduction
https://codesandbox.io/p/devbox/upbeat-ully-64czlg?file=%2Fsrc%2FApp.vue%3A10%2C35
Steps to reproduce
Navigate between
ViewA
andViewB
.What is expected?
HTML elements suppose to keep same order (
Navigation
,RouterView
,Footer
) after navigating between views.What is actually happening?
HTML elements being rendered in wrong order (
Navigation
,Footer
,RouterView
) after navigating between sync (ViewA
) and async (ViewB
) views.System Info
No response
Any additional comments?
Ran into an issue after updating Vue to 3.3.10. Looks like it's related related to latest (3.3.10) release changes (#8105) and is most likely not related to Vue Router itself, but rather to async components.
— Issue persists even if I toggling between components programatically, without
RouterView
.— Removing
timeout
property fromSuspense
gives weird delay but footer stays in place.— Wrapping
Suspense
in to div makes Footer to stay in correct order.The text was updated successfully, but these errors were encountered: