This commit is contained in:
Cory LaViska
2022-07-11 09:18:29 -04:00
parent 2376f75f1d
commit fa179fa30b
2 changed files with 2 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
- Added the `--track-active-offset` CSS custom property to `<sl-range>` [#806](https://github.com/shoelace-style/shoelace/issues/806)
- Fixed a bug that caused `<sl-select>` to sometimes have two vertical scrollbars [#814](https://github.com/shoelace-style/shoelace/issues/814)
- Fixed a bug that caused a gray line to appear between radio buttons [#821](https://github.com/shoelace-style/shoelace/discussions/821)
- Fixed a bug that caused `<sl-animated-image>` to not render anything when using the `play` attribute initially [#824](https://github.com/shoelace-style/shoelace/issues/824)
- Removed `:focus-visible` shim now that the last two major versions of Safari support it
## 2.0.0-beta.77

View File

@@ -61,7 +61,7 @@ export default class SlAnimatedImage extends LitElement {
emit(this, 'sl-error');
}
@watch('play')
@watch('play', { waitUntilFirstUpdate: true })
handlePlayChange() {
// When the animation starts playing, reset the src so it plays from the beginning. Since the src is cached, this
// won't trigger another request.