fix: RangePicker flickering issue when hover between cells (#51533)

This commit is contained in:
afc163 2024-11-08 12:01:06 +08:00 committed by GitHub
parent 3f228b35b6
commit fad7df0e00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,6 +33,7 @@ const genPickerCellInnerStyle = (token: SharedPickerToken): CSSObject => {
height: cellHeight,
transform: 'translateY(-50%)',
content: '""',
pointerEvents: 'none',
},
// >>> Default
@ -464,10 +465,8 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => {
},
},
'&:hover td': {
'&:before': {
background: cellHoverBg,
},
'&:hover td:before': {
background: cellHoverBg,
},
'&-range-start td, &-range-end td, &-selected td, &-hover td': {