pull/2008/head
Cory LaViska 2024-05-10 10:44:02 -04:00 zatwierdzone przez GitHub
rodzic d94acc6e06
commit d478ccb2da
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
3 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -20,6 +20,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
- Fixed a bug in `<sl-button-group>` classes [#1974]
- Fixed a bug in `<sl-textarea>` that may throw errors on `disconnectedCallback` in test environments [#1985]
- Fixed a bug in `<sl-color-picker>` that would log a non-passive event listener warning [#2005]
- Fixed a bug in the submenu controller that allowed submenus to go offscreen and not be scrollable [#2001]
## 2.15.0

Wyświetl plik

@ -147,4 +147,9 @@ export default css`
outline-offset: -1px;
}
}
::slotted(sl-menu) {
max-width: var(--auto-size-available-width) !important;
max-height: var(--auto-size-available-height) !important;
}
`;

Wyświetl plik

@ -283,6 +283,8 @@ export class SubmenuController implements ReactiveController {
flip-fallback-strategy="best-fit"
skidding="${this.skidding}"
strategy="fixed"
auto-size="vertical"
auto-size-padding="10"
>
<slot name="submenu"></slot>
</sl-popup>