kopia lustrzana https://github.com/shoelace-style/shoelace
revert fix
rodzic
326816e7b7
commit
09224041b8
|
|
@ -9,8 +9,7 @@ export function animateTo(el: HTMLElement, keyframes: Keyframe[], options?: Keyf
|
|||
|
||||
const animation = el.animate(keyframes, {
|
||||
...options,
|
||||
duration: prefersReducedMotion() ? 0 : options!.duration,
|
||||
fill: 'forwards'
|
||||
duration: prefersReducedMotion() ? 0 : options!.duration
|
||||
});
|
||||
|
||||
animation.addEventListener('cancel', resolve, { once: true });
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue