Skip to content

Commit 46e8ae7

Browse files
committed
Update core.ts
1 parent fc6a4ae commit 46e8ae7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hooks/core.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export const createHandle = () => {
8787
keyframes: TypedKeyframe[]
8888
) => {
8989
if (!animation) return;
90+
// https://www.w3.org/TR/web-animations-1/#fill-behavior
9091
if (animation.commitStyles) {
9192
animation.commitStyles();
9293
} else {

0 commit comments

Comments
 (0)