From 7afb7ce465b798c9462c0d4ad350c23b271dd3ab Mon Sep 17 00:00:00 2001 From: Weite Su <56747605+suweite@users.noreply.github.com> Date: Tue, 30 Jan 2024 12:04:24 +0800 Subject: [PATCH] fix(segmented): title property in segmented component slot not effective (#7302) Co-authored-by: suweite --- components/segmented/style/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/components/segmented/style/index.ts b/components/segmented/style/index.ts index 914ee9a6d..9235959cd 100644 --- a/components/segmented/style/index.ts +++ b/components/segmented/style/index.ts @@ -99,6 +99,7 @@ const genSegmentedStyle: GenerateStyle = (token: SegmentedToken) insetInlineStart: 0, borderRadius: 'inherit', transition: `background-color ${token.motionDurationMid}`, + pointerEvents: 'none', }, [`&:hover:not(${componentCls}-item-selected):not(${componentCls}-item-disabled)`]: {