Skip to content

Commit 7bf80fd

Browse files
Merge forwardport of #13341 to 2.3-develop branch
Applied pull request patch https://github.com/magento/magento2/pull/13341.patch (created by @arnoudhgz) based on commit(s): 1. 5714ffd 2. 5773225 Fixed GitHub Issues in 2.3-develop branch: - #13327: Menu ui-state-active not removed from previous opened menu item (reported by @arnoudhgz)
2 parents ddaf5c6 + d544ca2 commit 7bf80fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/web/mage/menu.js

+3
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,9 @@ define([
629629
return;
630630
}
631631

632+
// remove the active state class from the siblings
633+
this.active.siblings().children('.ui-state-active').removeClass('ui-state-active');
634+
632635
this._open(newItem.parent());
633636

634637
// Delay so Firefox will not hide activedescendant change in expanding submenu from AT

0 commit comments

Comments
 (0)