mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
fixes #450
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user