pull/463/head
Cory LaViska 2021-06-01 08:09:13 -04:00
rodzic e7d7469c4e
commit 9f405686ec
2 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -10,6 +10,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
- Added `?` to optional arguments in methods tables
- Added the `scrollPosition()` method to `sl-textarea` to get/set scroll position
- Removed `fill: both` from internal animate utility so styles won't "stick" by default [#450](https://github.com/shoelace-style/shoelace/issues/450)
## 2.0.0-beta.42

Wyświetl plik

@ -8,7 +8,6 @@ export function animateTo(el: HTMLElement, keyframes: Keyframe[], options?: Keyf
}
const animation = el.animate(keyframes, {
fill: 'both',
...options,
duration: prefersReducedMotion() ? 0 : options!.duration
});