Skip to content

chore(react-tree): delegate focus outline to layout components#29293

Merged
bsunderhus merged 1 commit intomicrosoft:masterfrom
bsunderhus:react-tree/chore--focus-outline-on-layout
Oct 3, 2023
Merged

chore(react-tree): delegate focus outline to layout components#29293
bsunderhus merged 1 commit intomicrosoft:masterfrom
bsunderhus:react-tree/chore--focus-outline-on-layout

Conversation

@bsunderhus
Copy link
Contributor

@bsunderhus bsunderhus commented Sep 26, 2023

Previous Behavior

Focus outline is on the TreeItem component as this is the actual focused component, this is a problem on nested trees as the TreeItem will contain inside of it a subtree with more tree items

image

New Behavior

Focus outline should be on the TreeItemLayout component (although the actual focus is on the TreeItem), this way the focus will be visually on a single element even when focusing on a tree item with other tree items inside of it.

image

Related Issue(s)

  • Fixes #

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants