Skip to content

Commit f927a4a

Browse files
authoredSep 20, 2024··
fix(transition): respect duration setting even when it is 0 (#11967)
1 parent a2f6ede commit f927a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎packages/runtime-dom/src/components/Transition.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ function whenTransitionEnds(
344344
}
345345
}
346346

347-
if (explicitTimeout) {
347+
if (explicitTimeout != null) {
348348
return setTimeout(resolveIfNotStale, explicitTimeout)
349349
}
350350

0 commit comments

Comments
 (0)
Please sign in to comment.