kopia lustrzana https://github.com/shoelace-style/shoelace
cleanup just in case
rodzic
10d9358753
commit
6e335f9a63
|
@ -106,8 +106,9 @@ export default class SlTooltip extends ShoelaceElement {
|
|||
this.addEventListener('mouseout', this.handleMouseOut);
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
super.connectedCallback();
|
||||
disconnectedCallback() {
|
||||
// Cleanup this event in case the tooltip is removed while open
|
||||
document.removeEventListener('keydown', this.handleDocumentKeyDown);
|
||||
}
|
||||
|
||||
firstUpdated() {
|
||||
|
|
Ładowanie…
Reference in New Issue