-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(cdk-experimental/listbox): initial listbox focus state #30764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
wagnermaciel
commented
Apr 1, 2025
- The first option to receive focus in a listbox should be either the first selected option or the first option in the list if no option is selected.
82798bd
to
c2019dc
Compare
@wagnermaciel needs rebase |
* The first option to receive focus in a listbox should be either the first focusable selected option or the first focusable option in the list if no focusable selected option exists.
164ad3c
to
18a7192
Compare
@andrewseguin @mmalerba Re-requesting review because when rebasing I found & fixed an issue where disabled items could get selected. I added unit tests to ensure the active index can only gets set to focusable options. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |