From 16c4ce09d7a9f7d8acbb7026c9bf2a8ea44ebf8a Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Sat, 28 May 2016 07:23:51 +0800 Subject: [PATCH] refactor: fix select style in an elegant way --- components/select/style/index.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/select/style/index.less b/components/select/style/index.less index 5486291db6..5b665b0c5f 100644 --- a/components/select/style/index.less +++ b/components/select/style/index.less @@ -236,9 +236,9 @@ .@{select-prefix-cls}-search__field__mirror { position: absolute; top: 0; - left: 9999px; + left: 0; + z-index: -1; white-space: pre; - pointer-events: none; } > i {