kopia lustrzana https://github.com/shoelace-style/shoelace
Fix event bug
rodzic
b935a0a838
commit
a9886851d5
|
@ -8,6 +8,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
|
||||||
|
|
||||||
## Next
|
## Next
|
||||||
|
|
||||||
|
- Fixed a bug in `sl-animation` where `sl-cancel` and `sl-finish` events would never fire
|
||||||
- Fixed a bug where `sl-alert` wouldn't always transition properly
|
- Fixed a bug where `sl-alert` wouldn't always transition properly
|
||||||
- Fixed a bug where using `sl-menu` inside a shadow root would break keyboard selections [#382](https://github.com/shoelace-style/shoelace/issues/382)
|
- Fixed a bug where using `sl-menu` inside a shadow root would break keyboard selections [#382](https://github.com/shoelace-style/shoelace/issues/382)
|
||||||
|
|
||||||
|
|
|
@ -73,6 +73,8 @@ export default class SlAnimation extends LitElement {
|
||||||
connectedCallback() {
|
connectedCallback() {
|
||||||
super.connectedCallback();
|
super.connectedCallback();
|
||||||
this.createAnimation();
|
this.createAnimation();
|
||||||
|
this.handleAnimationCancel = this.handleAnimationCancel.bind(this);
|
||||||
|
this.handleAnimationFinish = this.handleAnimationFinish.bind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
disconnectedCallback() {
|
disconnectedCallback() {
|
||||||
|
|
Ładowanie…
Reference in New Issue