From 2424a1abf1ce20f499bbd5e987fa0e179f4522df Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 17 Nov 2021 18:46:50 +0800 Subject: [PATCH] style: fix placholder color missing (#32915) --- components/style/mixins/compatibility.less | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/components/style/mixins/compatibility.less b/components/style/mixins/compatibility.less index fb1782ceeb..c5fb0dbc29 100644 --- a/components/style/mixins/compatibility.less +++ b/components/style/mixins/compatibility.less @@ -10,15 +10,10 @@ &::placeholder { color: @color; + user-select: none; // https://github.com/ant-design/ant-design/pull/32639 } &:placeholder-shown { text-overflow: ellipsis; } - - // Chrome - /* stylelint-disable-next-line selector-no-vendor-prefix */ - &::-webkit-input-placeholder { - user-select: none; - } }