diff --git a/packages/menu/src/submenu.vue b/packages/menu/src/submenu.vue index 375966933..87779ae8c 100644 --- a/packages/menu/src/submenu.vue +++ b/packages/menu/src/submenu.vue @@ -178,7 +178,10 @@ } this.dispatch('ElMenu', 'submenu-click', this); }, - handleMouseenter() { + handleMouseenter(event) { + if (!('ActiveXObject' in window) && event.type === 'focus' && !event.relatedTarget) { + return; + } const { rootMenu, disabled } = this; if ( (rootMenu.menuTrigger === 'click' && rootMenu.mode === 'horizontal') ||