diff --git a/components/select/style/index.less b/components/select/style/index.less index 91ac77accd..936b31e586 100644 --- a/components/select/style/index.less +++ b/components/select/style/index.less @@ -235,6 +235,14 @@ left: 8px; } + &-search__field__mirror { + position: absolute; + top: 0; + left: -9999px; + white-space: pre; + pointer-events: none; + } + &-search--inline { position: absolute; height: 100%; @@ -261,14 +269,6 @@ line-height: 1; } - .@{select-prefix-cls}-search__field__mirror { - position: absolute; - top: 0; - left: -9999px; - white-space: pre; - pointer-events: none; - } - > i { float: right; }