diff --git a/components.js b/components.js index 97ee63f..d6a044a 100644 --- a/components.js +++ b/components.js @@ -1395,7 +1395,7 @@ customElements.define('sm-popup', class extends HTMLElement { } } }); - resizeObserver.observe(this); + this.resizeObserver.observe(this); this.mutationObserver = new MutationObserver(entries => { this.updateFocusableList() diff --git a/index.html b/index.html index 05a7a69..cf0a204 100644 --- a/index.html +++ b/index.html @@ -16,6 +16,7 @@ rel="stylesheet"> +