Skip to content

Commit

Permalink
refactor(material/select): add useActiveDescendant attribute
Browse files Browse the repository at this point in the history
Updates previous fix to add useActiveDescendant=true to
listbox in order to attempt to shift focus without using
cdkFocusTrap.

Fixes b/285945157
  • Loading branch information
essjay05 committed Aug 28, 2024
1 parent 3e2b296 commit 310bd74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/material/select/select.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
role="listbox"
cdkListbox
cdkListboxUseActiveDescendant
useActiveDescendant="true"
tabindex="-1"
class="mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open {{ _getPanelTheme() }}"
[attr.id]="id + '-panel'"
Expand Down

0 comments on commit 310bd74

Please sign in to comment.