Skip to content

fix(web-components): fix keyboard navigation regressions for tree and menu-list#36118

Merged
marchbox merged 8 commits into
microsoft:masterfrom
marchbox:users/machi/fix-tree-menu-focusgroup
May 12, 2026
Merged

fix(web-components): fix keyboard navigation regressions for tree and menu-list#36118
marchbox merged 8 commits into
microsoft:masterfrom
marchbox:users/machi/fix-tree-menu-focusgroup

Conversation

@marchbox
Copy link
Copy Markdown
Contributor

@marchbox marchbox commented May 7, 2026

Previous Behavior

#35884 introduced 2 regressions related to keyboard navigations:

  • Tree: when focus is on an expanded tree item that contains child tree items, pressing right arrow should move focus to the first nested tree item
  • MenuList: when a menu item has hidden attribute in SSR HTML, when it’s hidden attribute removed, it should be focussble by keyboard again

New Behavior

Restored the behaviors and added tests.

@marchbox marchbox requested a review from a team as a code owner May 7, 2026 19:06
@marchbox marchbox changed the title fix keyboard navigation regressions for tree and menu-list fix(web-components): fix keyboard navigation regressions for tree and menu-list May 7, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

📊 Bundle size report

✅ No changes found

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

Pull request demo site: URL

@marchbox marchbox enabled auto-merge (squash) May 7, 2026 21:23
@marchbox marchbox merged commit 52fd89c into microsoft:master May 12, 2026
12 checks passed
@marchbox marchbox deleted the users/machi/fix-tree-menu-focusgroup branch May 12, 2026 17:30
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