From 9a57a1aa9ddb54e4f897eb27445a947423ba02cd Mon Sep 17 00:00:00 2001 From: Siubeng Date: Fri, 10 May 2024 22:35:43 +0800 Subject: [PATCH] fix(Select): avoid .t-is-checked style from overriding disabled style of select option (#1789) Co-authored-by: ringofeng --- style/web/components/select/_index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style/web/components/select/_index.less b/style/web/components/select/_index.less index b936bdff77..971541976b 100644 --- a/style/web/components/select/_index.less +++ b/style/web/components/select/_index.less @@ -210,7 +210,7 @@ font: @select-font-s; } -.@{prefix}-select-option.@{prefix}-is-selected { +.@{prefix}-select-option.@{prefix}-is-selected:not(.@{prefix}-is-disabled) { color: @select-selected-color; background-color: @select-selected-bg-color; transition: all @anim-duration-base linear;