From 4e85e8bbb3d756ebf28852eabd0cfcb9bb726c74 Mon Sep 17 00:00:00 2001 From: sheepluo Date: Tue, 17 Oct 2023 16:26:18 +0800 Subject: [PATCH] [TagInput] fix can not hide input element (#1623) * fix(Input): minWidth * fix(TagInput): input min-width --------- Co-authored-by: sheepluo --- style/web/components/tag-input/_index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style/web/components/tag-input/_index.less b/style/web/components/tag-input/_index.less index a2d93bc920..f65be1001a 100644 --- a/style/web/components/tag-input/_index.less +++ b/style/web/components/tag-input/_index.less @@ -51,7 +51,7 @@ &:hover, .@{prefix}-input--focused { - .@{prefix}-input__inner { + .@{prefix}-input__inner:not(.@{prefix}-input--soft-hidden) { min-width: 20px; } }