You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cdk/tree): CdkTreeNodeToggle focuses node when toggling it
Fix focus behavior of CdkTreeNodeToggle. When toggling the expanded or
collapsed state of a node, focus that node. Fix issue where end user
cannot tab into tree component when collaping the parent of the active
node.
Before this commit is applied, there is a bug where end user cannot tab
into the tree.
Reproduction steps
1. Active a tree node
2. (focus state renders)
3. Using mouse, collapse parent of node from step 1.
4. (tree node collapses)
5. Press Tab, then shift + tab
6. (item before tree is focused. Can tab into the tree)
With this commit applied, above issue is no longer expected to
reproduce.
This commit message is only for reviewers of this PR and can be deleted
when landing this change in main.
0 commit comments