Skip to content

Commit 7afb7ce

Browse files
suweitesuweite
and
suweite
authored
fix(segmented): title property in segmented component slot not effective (#7302)
Co-authored-by: suweite <weite.su@infinigo.cn>
1 parent 9cc7301 commit 7afb7ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/segmented/style/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ const genSegmentedStyle: GenerateStyle<SegmentedToken> = (token: SegmentedToken)
9999
insetInlineStart: 0,
100100
borderRadius: 'inherit',
101101
transition: `background-color ${token.motionDurationMid}`,
102+
pointerEvents: 'none',
102103
},
103104

104105
[`&:hover:not(${componentCls}-item-selected):not(${componentCls}-item-disabled)`]: {

0 commit comments

Comments
 (0)