Skip to content

Conversation

@adolgachev
Copy link
Contributor

@adolgachev adolgachev commented Jan 27, 2026

Autocomplete example is broken when using keyboard navigation to select an item, as it appears selected, but then pressing clear does not have an effect. See b/479260216.

Fix is to properly pass in the active item within Combobox.select for when there is no item passed in the params. Note that the specs pass as there is another later for focused item and then another call to select passing in the item which results in the item appearing selected.

Need to spend more time determining how to modify specs to test for this, but this does appear to be a mistake in original code as the item is determined, then dropped in this code, and it fixes the issue.

@adolgachev adolgachev marked this pull request as ready for review January 29, 2026 19:17
@pullapprove pullapprove bot requested review from mmalerba and tjshiu January 29, 2026 19:17
@adolgachev adolgachev added Accessibility This issue is related to accessibility (a11y) target: patch This PR is targeted for the next patch release action: review The PR is still awaiting reviews from at least one requested reviewer action: presubmit The PR is in need of a google3 presubmit dev-app preview When applied, previews of the dev-app are deployed to Firebase labels Jan 29, 2026
@github-actions
Copy link

github-actions bot commented Jan 29, 2026

Deployed dev-app for abadaf1 to: https://ng-dev-previews-comp--pr-angular-components-32714-dev-3240cirt.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

Copy link
Contributor

@tjshiu tjshiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chatted about it - might need some more investigation time. Seems to work inconsistently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accessibility This issue is related to accessibility (a11y) action: presubmit The PR is in need of a google3 presubmit action: review The PR is still awaiting reviews from at least one requested reviewer dev-app preview When applied, previews of the dev-app are deployed to Firebase target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants