bug fixes
This commit is contained in:
parent
583a14d1ad
commit
51dccfa1d9
3
components/dist/popup.js
vendored
3
components/dist/popup.js
vendored
@ -210,6 +210,7 @@ customElements.define('sm-popup', class extends HTMLElement {
|
||||
this.handleTouchEnd = this.handleTouchEnd.bind(this);
|
||||
this.detectFocus = this.detectFocus.bind(this);
|
||||
this.handleSoftDismiss = this.handleSoftDismiss.bind(this);
|
||||
this.debounce = this.debounce.bind(this);
|
||||
}
|
||||
|
||||
static get observedAttributes() {
|
||||
@ -484,7 +485,7 @@ customElements.define('sm-popup', class extends HTMLElement {
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
this.popupBodySlot.addEventListener('slotchange', debounce(() => {
|
||||
this.popupBodySlot.addEventListener('slotchange', this.debounce(() => {
|
||||
this.forms = this.querySelectorAll('sm-form');
|
||||
this.updateFocusableList()
|
||||
}, 0));
|
||||
|
||||
2
components/dist/popup.min.js
vendored
2
components/dist/popup.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user