Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 64227e7

Browse files
boilundTigge
authored andcommitted
fix(table): hover effect does not stay on table row when menu on table row active
Closes #138
1 parent e383796 commit 64227e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/core/src/Table/TableRow.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ const TableRowGrid = styled.div<{
6060
}
6161
}
6262
63+
&:focus-within {
64+
box-shadow: ${({ theme }) => theme.shadow.tableRow};
65+
z-index: 1;
66+
}
67+
6368
&.selected {
6469
background-color: ${({ theme }) => theme.color.backgroundPrimary()};
6570
}

0 commit comments

Comments
 (0)