From c7cc8d40c84a7da7ebd59ed53f46acae5ef41903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Wed, 15 Apr 2020 11:29:38 +0800 Subject: [PATCH] :bug: Select custom suffixIcon could be operated (#23274) close #23263 --- components/select/style/index.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/components/select/style/index.less b/components/select/style/index.less index 44baf6bff4..55f0abe9de 100644 --- a/components/select/style/index.less +++ b/components/select/style/index.less @@ -98,7 +98,6 @@ // ========================== Arrow ========================== &-arrow { .iconfont-mixin(); - position: absolute; top: 53%; right: @control-padding-horizontal - 1px; @@ -109,8 +108,6 @@ font-size: @font-size-sm; line-height: 1; text-align: center; - // transform-origin: 50% 50%; - pointer-events: none; .anticon { vertical-align: top; @@ -124,6 +121,10 @@ transform: rotate(180deg); } } + + &.anticon-down { + pointer-events: none; + } } // ========================== Clear ==========================