From 875ef97ebc5626b10cbbddcc1197b27f94d2074f Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 7 Sep 2023 09:29:38 +0800 Subject: [PATCH] fix: Tag with Popover/Popconfirm should not affect style (#44663) --- components/popconfirm/style/index.tsx | 3 +++ components/popover/style/index.tsx | 1 + 2 files changed, 4 insertions(+) diff --git a/components/popconfirm/style/index.tsx b/components/popconfirm/style/index.tsx index 100cbdbb3c..f5ae3b57b0 100644 --- a/components/popconfirm/style/index.tsx +++ b/components/popconfirm/style/index.tsx @@ -86,4 +86,7 @@ export default genComponentStyleHook( zIndexPopup: zIndexPopupBase + 60, }; }, + { + resetStyle: false, + }, ); diff --git a/components/popover/style/index.tsx b/components/popover/style/index.tsx index 8502f5af14..4bd70b68c4 100644 --- a/components/popover/style/index.tsx +++ b/components/popover/style/index.tsx @@ -200,6 +200,7 @@ export default genComponentStyleHook( zIndexPopup: token.zIndexPopupBase + 30, }), { + resetStyle: false, deprecatedTokens: [['width', 'minWidth']], }, );