fix(InputNumber): input-number mouseup (#6772)
* fix(InputNumber): input-number mouseup * fix: replace with onClick --------- Co-authored-by: nbn <nabaonan@yunlizhihui.com>pull/6817/head
parent
e3f09a18a1
commit
cacbde3e03
|
@ -183,11 +183,7 @@ const InputNumber = defineComponent({
|
|||
hashId.value,
|
||||
);
|
||||
element = (
|
||||
<div
|
||||
class={affixWrapperCls}
|
||||
style={style}
|
||||
onMouseup={() => inputNumberRef.value!.focus()}
|
||||
>
|
||||
<div class={affixWrapperCls} style={style} onClick={focus}>
|
||||
{hasPrefix && <span class={`${preCls}-prefix`}>{prefix}</span>}
|
||||
{element}
|
||||
{hasFeedback && <span class={`${preCls}-suffix`}>{feedbackIcon}</span>}
|
||||
|
|
Loading…
Reference in New Issue