From 122707938c3497d25ecfe32b72d5d68bc18b68cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E6=99=96?= <1633875789@qq.com> Date: Fri, 12 Dec 2025 10:49:13 +0800 Subject: [PATCH] fix(Input): fix Search allowClear border missing in Compact mode (#56105) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 遇见同学 <1875694521@qq.com> --- components/input/style/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/input/style/index.ts b/components/input/style/index.ts index 66922bb692..72fa4fd0c1 100644 --- a/components/input/style/index.ts +++ b/components/input/style/index.ts @@ -667,7 +667,10 @@ export default genStyleHooks( // ===================================================== // == Space Compact == // ===================================================== - genCompactItemStyle(inputToken), + genCompactItemStyle(inputToken, { + focus: true, + focusElCls: `${inputToken.componentCls}-affix-wrapper-focused`, + }), ]; }, initComponentToken,