Skip to content

Fix hidden combobox option selection - #39

Merged
ukutaht merged 1 commit into
mainfrom
fix/combobox-hidden-option-selection
Oct 6, 2026
Merged

ukutaht merged 1 commit into
mainfrom
fix/combobox-hidden-option-selection

Conversation

@ukutaht

@ukutaht ukutaht commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Filtering a combobox to zero matches left a hidden option focused, so pressing Enter could submit "Apple" even though no result was visible. This change clears both the focus marker and ARIA active descendant when no option is available, rejects hidden options during selection, and reuses the focus cleanup when closing.

@ukutaht
ukutaht merged commit 89970d9 into main Oct 6, 2026
1 check passed
@ukutaht
ukutaht deleted the fix/combobox-hidden-option-selection branch October 6, 2026 22:16
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.

1 participant