This commit is contained in:
Cory LaViska
2021-06-01 08:09:13 -04:00
parent e7d7469c4e
commit 9f405686ec
2 changed files with 1 additions and 1 deletions

View File

@@ -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

View File

@@ -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
});