Skip to content

Commit

Permalink
feat(select): expose menu and field CSS shadow parts
Browse files Browse the repository at this point in the history
fixes #4291

PiperOrigin-RevId: 546330782
  • Loading branch information
Elliott Marquez authored and copybara-github committed Jul 12, 2023
1 parent 86aba33 commit e95d6fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions select/lib/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ export abstract class Select extends LitElement {
<${this.fieldTag}
aria-haspopup="listbox"
role="combobox"
part="field"
tabindex=${this.disabled ? '-1' : '0'}
aria-expanded=${this.open ? 'true' : 'false'}
class="field"
Expand Down Expand Up @@ -256,6 +257,7 @@ export abstract class Select extends LitElement {
listTabIndex="-1"
type="listbox"
stay-open-on-focusout
part="menu"
.anchor=${this.field}
.open=${this.open}
.quick=${this.quick}
Expand Down

0 comments on commit e95d6fa

Please sign in to comment.