Commit b70bcc05 authored by xujiongbo's avatar xujiongbo

InputNumber: prevent cursor from moving to head when pressing up on chrome and safari

parent 33954866
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
</span> </span>
<el-input <el-input
:value="currentValue" :value="currentValue"
@keydown.up.native="increase" @keydown.up.native.prevent="increase"
@keydown.down.native="decrease" @keydown.down.native.prevent="decrease"
@blur="handleBlur" @blur="handleBlur"
@input="handleInput" @input="handleInput"
:disabled="disabled" :disabled="disabled"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment