Skip to content

Commit

Permalink
Mask the contents of a scrolled row for a quiet table (adobe#7193)
Browse files Browse the repository at this point in the history
cant use transparent for the default quiet row state, need a opaque color to hide scrolled text
  • Loading branch information
LFDanLu authored Oct 15, 2024
1 parent ce87249 commit 0d0e21b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@react-spectrum/s2/src/TableView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ const selectedActiveBackground = lightDark(colorMix('gray-25', 'informative-900'
const rowBackgroundColor = {
default: {
default: 'gray-25',
isQuiet: 'transparent'
isQuiet: '--s2-container-bg'
},
isFocusVisibleWithin: colorMix('gray-25', 'gray-900', 7), // table-row-hover-color
isHovered: colorMix('gray-25', 'gray-900', 7), // table-row-hover-color
Expand Down

0 comments on commit 0d0e21b

Please sign in to comment.