Skip to content
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

fix(react): fix a11y active-descendant issue with controlled Listboxes #1776

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

scurker
Copy link
Member

@scurker scurker commented Dec 19, 2024

This addresses an obscure issue when using controlled listboxes. The behavior basically was whenever the value would change, it would always reset the active element to the first selected element in the list causing the focus to reset on the element whenever new selections were made.

@scurker scurker requested a review from a team as a code owner December 19, 2024 20:28
@scurker scurker requested a review from a team December 19, 2024 20:31
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1776.d15792l1n26ww3.amplifyapp.com

@scurker scurker changed the title fix(react): fix a11y active-descendent issue with controlled Listboxes fix(react): fix a11y active-descendant issue with controlled Listboxes Dec 19, 2024
@scurker scurker merged commit 897963b into develop Dec 19, 2024
9 checks passed
@scurker scurker deleted the fix-controlled-listbox branch December 19, 2024 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants