Skip to content

Commit fd0c6ee

Browse files
authored
fix unmounting components delayed bidirectional transitions (#5353)
1 parent 2c5f1c4 commit fd0c6ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/internal/transitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export function create_bidirectional_transition(node: Element & ElementCSSInline
273273
outros.r += 1;
274274
}
275275

276-
if (running_program) {
276+
if (running_program || pending_program) {
277277
pending_program = program;
278278
} else {
279279
// if this is an intro, and there's a delay, we need to do

0 commit comments

Comments
 (0)