Commit 1ec0821e authored by 刘鹏龙's avatar 刘鹏龙 Committed by Zhi Cun

Menu:fix subMenu focus bug when switch browser tab (#13976)

* Menu:fix subMenu focus bug

* Menu:fix subMenu focus bug remove window.ActiveXObject
parent 28873807
......@@ -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') ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment