mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-20 16:03:32 +08:00
fix: RangePicker flickering issue when hover between cells (#51533)
This commit is contained in:
parent
3f228b35b6
commit
fad7df0e00
@ -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': {
|
||||
|
Loading…
Reference in New Issue
Block a user