This commit is contained in:
Cory LaViska
2022-11-23 10:32:27 -05:00
parent aaa8e4a01b
commit 6579a95999
2 changed files with 5 additions and 0 deletions

View File

@@ -409,6 +409,7 @@ export default class SlDropdown extends ShoelaceElement {
shift
auto-size="vertical"
auto-size-padding="10"
.autoSizeBoundary=${this.hoist ? document.body : undefined}
class=${classMap({
dropdown: true,
'dropdown--open': this.open