mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-11-29 17:58:08 +08:00
improvement: [select] optimize the effect of keyboard switching options (#18773)
* improvement: [select] optimize the effect of keyboard switching options * fix: apply to select-v2
This commit is contained in:
parent
3eb734ccc4
commit
906141b4d2
@ -9,7 +9,7 @@
|
||||
ns.is('created', created),
|
||||
ns.is('hovering', hovering),
|
||||
]"
|
||||
@mouseenter="hoverItem"
|
||||
@mousemove="hoverItem"
|
||||
@click.stop="selectOptionClick"
|
||||
>
|
||||
<slot :item="item" :index="index" :disabled="disabled">
|
||||
|
@ -6,7 +6,7 @@
|
||||
role="option"
|
||||
:aria-disabled="isDisabled || undefined"
|
||||
:aria-selected="itemSelected"
|
||||
@mouseenter="hoverItem"
|
||||
@mousemove="hoverItem"
|
||||
@click.stop="selectOptionClick"
|
||||
>
|
||||
<slot>
|
||||
|
Loading…
Reference in New Issue
Block a user