mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
InputNumber: prevent cursor from moving to head when pressing up on chrome and safari
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
</span>
|
||||
<el-input
|
||||
:value="currentValue"
|
||||
@keydown.up.native="increase"
|
||||
@keydown.down.native="decrease"
|
||||
@keydown.up.native.prevent="increase"
|
||||
@keydown.down.native.prevent="decrease"
|
||||
@blur="handleBlur"
|
||||
@input="handleInput"
|
||||
:disabled="disabled"
|
||||
|
||||
Reference in New Issue
Block a user