Skip to content

Commit

Permalink
fix(tree-item): reverses regression to bring back focus when navigati…
Browse files Browse the repository at this point in the history
…ng with keyboard (#6424)

**Related Issue:** #6376

## Summary
Reverses regression to bring back focus when navigating with the
keyboard and a small cleanup on the existing code.
  • Loading branch information
Elijbet authored Feb 6, 2023
1 parent f3dd490 commit ea9d403
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/tree-item/tree-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@
// focus styles
:host {
@apply focus-base;
&:focus,
&:active {
@apply focus-inset outline-none;
}
}

:host(:focus) {
@apply focus-inset outline-none;
}

slot[name="actions-end"]::slotted(*),
Expand Down

0 comments on commit ea9d403

Please sign in to comment.