view-design / ViewUI

A high quality UI Toolkit built on Vue.js 2.0
https://www.iviewui.com/
Other
2.65k stars 797 forks source link

[Bug Report]版本4.3.2-InputNumber 数字输入框,获焦问题。 #678

Open longergithub opened 4 years ago

longergithub commented 4 years ago

Environment

操作系统:windows 10,游览器:chrome v83.0.4103.116,Vue版本:2.5.22

Reproduction link

https://run.iviewui.com/ZuCITRDU

Steps to reproduce

1.设置InputNumber的precision为不小于0; 2.鼠标移至InputNumber内; 3.输入值,焦点会移动至文本最后。

What is expected?

焦点不会移动

What is actually happening?

焦点移动至文本最后

yeet commented 4 years ago

顶顶顶,求解决