Open
Description
Version
2.6.6
Reproduction link
https://codepen.io/matf5/project/editor/ARGnKV
computed: {
cardNoFormat: {
get() {
return this.cardNo.replace(/(\d{4})(?=\d)/g, '$1 ');
},
set(value) {
this.cardNo = value;
}
}
}
Steps to reproduce
例如输入输入62148时,数据会变为6214 8
What is expected?
光标位于8后面
What is actually happening?
有问题的安卓机如vivo,华为荣耀在部分浏览器内核下(如uc)光标会卡在8前面