mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix(components): [mention] keyboard control options not work as expected (#18751)
* fix(components): [mention] keyboard control options not work as expected * fix: use mousemove instead of mouseenter * chore: update
This commit is contained in:
parent
fe881ff337
commit
2cb7d1cb03
@ -23,7 +23,7 @@
|
||||
role="option"
|
||||
:aria-disabled="item.disabled || disabled || undefined"
|
||||
:aria-selected="hoveringIndex === index"
|
||||
@mouseenter="handleMouseEnter(index)"
|
||||
@mousemove="handleMouseEnter(index)"
|
||||
@click.stop="handleSelect(item)"
|
||||
>
|
||||
<slot name="label" :item="item" :index="index">
|
||||
|
Loading…
Reference in New Issue
Block a user