diff --git a/lib/web/mage/menu.js b/lib/web/mage/menu.js index 6ad60333d2e1b..41730aa036b08 100644 --- a/lib/web/mage/menu.js +++ b/lib/web/mage/menu.js @@ -626,6 +626,9 @@ define([ return; } + // remove the active state class from the siblings + this.active.siblings().children('.ui-state-active').removeClass('ui-state-active'); + this._open(newItem.parent()); // Delay so Firefox will not hide activedescendant change in expanding submenu from AT