We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6ec775 commit 0a9d60aCopy full SHA for 0a9d60a
packages/runtime-core/src/components/Suspense.ts
@@ -577,12 +577,9 @@ function createSuspenseBoundary(
577
}
578
unmount(activeBranch, parentComponent, suspense, true)
579
// clear el reference from fallback vnode to allow GC
580
- // only clear immediately if there's no delayed transition
581
- queuePostRenderEffect(() => {
582
- if (!delayEnter && isInFallback && vnode.ssFallback) {
583
- vnode.ssFallback.el = null
584
- }
585
- }, suspense)
+ if (!delayEnter && isInFallback && vnode.ssFallback) {
+ queuePostRenderEffect(() => (vnode.ssFallback!.el = null), suspense)
+ }
586
587
if (!delayEnter) {
588
// move content from off-dom container to actual container
0 commit comments