Skip to content

Commit

Permalink
Checkbox focus selector in DataTables (#2712)
Browse files Browse the repository at this point in the history
* fix: focus selector in dataTables

* chore: changeset
  • Loading branch information
chloe0592 authored Feb 2, 2024
1 parent 7f42b3d commit 92008b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/witty-spiders-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-uikit/data-table': patch
---

Fix the focus selector in DataTables
2 changes: 1 addition & 1 deletion packages/components/data-table/src/cell.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const outlineStyles = css`
/* to avoid getting cut by overflow:hidden */
outline-offset: -3px;
:not(:focus):focus-within {
:has(:focus-visible) {
outline-style: auto;
/* try using the default user-agent color */
Expand Down

0 comments on commit 92008b2

Please sign in to comment.