mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
fix: Segmented item pseudo should not block mouse event (#40894)
This commit is contained in:
parent
01a6da37a9
commit
6b552d53f6
@ -99,6 +99,9 @@ const genSegmentedStyle: GenerateStyle<SegmentedToken> = (token: SegmentedToken)
|
||||
insetInlineStart: 0,
|
||||
borderRadius: 'inherit',
|
||||
transition: `background-color ${token.motionDurationMid}`,
|
||||
// This is mandatory to make it not clickable or hoverable
|
||||
// Ref: https://github.com/ant-design/ant-design/issues/40888
|
||||
pointerEvents: 'none',
|
||||
},
|
||||
|
||||
[`&:hover:not(${componentCls}-item-selected):not(${componentCls}-item-disabled)`]: {
|
||||
|
Loading…
Reference in New Issue
Block a user