Skip to content

Commit 0d0e21b

Browse files
authored
Mask the contents of a scrolled row for a quiet table (#7193)
cant use transparent for the default quiet row state, need a opaque color to hide scrolled text
1 parent ce87249 commit 0d0e21b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@react-spectrum/s2/src/TableView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ const selectedActiveBackground = lightDark(colorMix('gray-25', 'informative-900'
10221022
const rowBackgroundColor = {
10231023
default: {
10241024
default: 'gray-25',
1025-
isQuiet: 'transparent'
1025+
isQuiet: '--s2-container-bg'
10261026
},
10271027
isFocusVisibleWithin: colorMix('gray-25', 'gray-900', 7), // table-row-hover-color
10281028
isHovered: colorMix('gray-25', 'gray-900', 7), // table-row-hover-color

0 commit comments

Comments
 (0)