move focus logic; #1177

pull/1186/head
Cory LaViska 2023-02-06 12:20:32 -05:00
rodzic cedcd65c72
commit c958f2e50a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -221,6 +221,7 @@ export default class SlDropdown extends ShoelaceElement {
this.hide();
} else {
this.show();
this.focusOnTrigger();
}
}
@ -319,7 +320,6 @@ export default class SlDropdown extends ShoelaceElement {
}
this.open = true;
this.focusOnTrigger();
return waitForEvent(this, 'sl-after-show');
}