Skip to content

Commit 71bb149

Browse files
committed
fix: address reset of animations
1 parent b437798 commit 71bb149

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/components/bolt-interactive-step/src/animation-wrapper.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ class BoltAnimationWrapper extends withLitHtml() {
7676
animationDuration: `${boltAnimationDuration}ms`,
7777
animationDelay: `${boltAnimationDelay}ms`,
7878
animationTimingFunction: boltAnimationFunction,
79-
animationFillMode: 'forwards',
79+
animationFillMode: 'both',
80+
});
81+
} else {
82+
style = Object.assign({}, style, {
83+
animationName: '',
8084
});
8185
}
8286

0 commit comments

Comments
 (0)