Skip to content

refactor(multiple): stabilize focus state when active item is deleted#33199

Open
tjshiu wants to merge 1 commit intoangular:mainfrom
tjshiu:multi
Open

refactor(multiple): stabilize focus state when active item is deleted#33199
tjshiu wants to merge 1 commit intoangular:mainfrom
tjshiu:multi

Conversation

@tjshiu
Copy link
Copy Markdown
Contributor

@tjshiu tjshiu commented May 5, 2026

  • Calls setDefaultState instead of dropping focus when active item is removed.
  • Adds focus stability unit tests for listbox and tree.

- Calls setDefaultState instead of dropping focus when active item is removed.
- Clears stale reference to prevent memory leaks.
- Adds focus stability unit tests for listbox and tree.
@pullapprove pullapprove Bot requested review from andrewseguin and crisbeto May 5, 2026 04:46
@tjshiu tjshiu requested review from adolgachev and ok7sai May 5, 2026 04:47
@tjshiu tjshiu added target: major This PR is targeted for the next major release dev-app preview When applied, previews of the dev-app are deployed to Firebase area: aria/listbox area: aria/combobox area: aria/tree labels May 5, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

Deployed dev-app for aa58f92 to: https://ng-dev-previews-comp--pr-angular-components-33199-dev-yvaasibm.web.app

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

@tjshiu tjshiu added target: minor This PR is targeted for the next minor release target: major This PR is targeted for the next major release and removed target: major This PR is targeted for the next major release area: aria/combobox target: minor This PR is targeted for the next minor release labels May 5, 2026
@tjshiu tjshiu added the action: merge The PR is ready for merge by the caretaker label May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: aria/listbox area: aria/tree dev-app preview When applied, previews of the dev-app are deployed to Firebase target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants