Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions packages/runtime-core/src/components/Suspense.ts
Original file line number Diff line number Diff line change
Expand Up @@ -524,14 +524,10 @@ function createSuspenseBoundary(
pendingBranch!.transition &&
pendingBranch!.transition.mode === 'out-in'
if (delayEnter) {
const anchor = next(activeBranch!)
activeBranch!.transition!.afterLeave = () => {
if (pendingId === suspense.pendingId) {
move(
pendingBranch!,
container,
next(activeBranch!),
MoveType.ENTER,
)
move(pendingBranch!, container, anchor, MoveType.ENTER)
queuePostFlushCb(effects)
}
}
Expand Down