This commit is contained in:
Cory LaViska
2022-11-21 16:18:44 -05:00
parent 8f2a3bd8bd
commit 8b2c090bac
2 changed files with 2 additions and 1 deletions

View File

@@ -63,6 +63,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
- Improved `<sl-split-panel>` so the divider is visible in forced-colors mode
- Improved `<sl-tree-item>` so selected items are visible in forced-colors mode
- Improved `<sl-tab-group>` so tabs are cleaner and easier to understand in forced-colors mode
- Improved positioning of the menu in `<sl-select>` so you can customize the menu width [#1018](https://github.com/shoelace-style/shoelace/issues/1018)
- Moved all component descriptions to `@summary` to get them within documentation tools [#962](https://github.com/shoelace-style/shoelace/pull/962)
- Refactored form controls to use the `ShoelaceFormControl` interface to improve type safety and consistency
- Updated Lit to 2.4.1

View File

@@ -492,7 +492,7 @@ export default class SlSelect extends ShoelaceElement implements ShoelaceFormCon
<sl-dropdown
part="base"
.hoist=${this.hoist}
.placement=${this.placement}
.placement=${this.placement === 'bottom' ? 'bottom-start' : 'top-start'}
.stayOpenOnSelect=${this.multiple}
.containingElement=${this as HTMLElement}
?disabled=${this.disabled}