fix(Field): 修复全局设置 user-select: none 时 IOS 下无法输入的问题 (#9418)

* fix: 修复IOS输入光标不显示无法输入内容

* Update index.less

Co-authored-by: neverland <chenjiahan@buaa.edu.cn>
This commit is contained in:
okxiaoliang4 2021-09-10 11:12:00 +08:00 committed by GitHub
parent 8382fd15ad
commit ba4a0760bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,8 @@
background-color: transparent;
border: 0;
resize: none;
// https://github.com/youzan/vant/pull/9418
user-select: auto;
&::placeholder {
color: var(--van-field-placeholder-text-color);