Skip to content

Commit

Permalink
fix(segmented): title property in segmented component slot not effect…
Browse files Browse the repository at this point in the history
…ive (#7302)

Co-authored-by: suweite <[email protected]>
  • Loading branch information
suweite and suweite authored Jan 30, 2024
1 parent 9cc7301 commit 7afb7ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/segmented/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const genSegmentedStyle: GenerateStyle<SegmentedToken> = (token: SegmentedToken)
insetInlineStart: 0,
borderRadius: 'inherit',
transition: `background-color ${token.motionDurationMid}`,
pointerEvents: 'none',
},

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

0 comments on commit 7afb7ce

Please sign in to comment.