pull/878/head
Cory LaViska 2022-08-25 12:24:39 -04:00
rodzic 708977acf7
commit 352cade421
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1441,7 +1441,7 @@ Scroll the container to see the popup resize as its available space changes.
const popup = container.querySelector('sl-popup');
const autoSize = container.querySelector('sl-switch');
autoSize.addEventListener('sl-change', () => (popup.autoSize = autoSize.checked));
autoSize.addEventListener('sl-change', () => (popup.autoSize = autoSize.checked ? 'both' : ''));
</script>
```