mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
fix: Avoid selecting the placeholder of input control on Chrome browser, keep consistent of selection behavior with Firefox browser (#32639)
This commit is contained in:
parent
0e7d82bdb4
commit
a09e1ad921
@ -15,4 +15,10 @@
|
||||
&:placeholder-shown {
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
// Chrome
|
||||
/* stylelint-disable-next-line selector-no-vendor-prefix */
|
||||
&::-webkit-input-placeholder {
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user