From 2cb7d1cb030e36ee6a65406806eeb27eed4b29cf Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Tue, 5 Nov 2024 12:42:48 +0800 Subject: [PATCH] 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 --- packages/components/mention/src/mention-dropdown.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/mention/src/mention-dropdown.vue b/packages/components/mention/src/mention-dropdown.vue index 7f7a3209e7..c3535437e1 100644 --- a/packages/components/mention/src/mention-dropdown.vue +++ b/packages/components/mention/src/mention-dropdown.vue @@ -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)" >