Teleport rendered before async dependencies resolve in Suspense component
Vue version
3.3.4
Link to minimal reproduction
Steps to reproduce
See reproduction link.
<Suspense>
<div>
<AsyncComp />
<div>This will only render once the AsyncComp is resolved</div>
<Teleport to="body">This is rendered immediately</Teleport>
</div>
</Suspense>
What is expected?
The Teleport
is only rendered once the async dependencies of the Suspense
resolve.
What is actually happening?
The Teleport
is rendered immediately, before the async dependencies of the Suspense
resolve.
System Info
No response
Any additional comments?
No response