Skip to content

Commit b7580f4

Browse files
committed
fix(menu): focused item state is not cleared when menu is reopened #7118
1 parent c42fcdd commit b7580f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kendo.menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,6 @@ var __meta__ = { // jshint ignore:line
993993

994994
if (overflowWrapper) {
995995
element.find(visiblePopups).each(closePopup);
996-
overflowWrapper.find("." + FOCUSEDSTATE).removeClass(FOCUSEDSTATE);
997996
}
998997

999998
element.each(function () {
@@ -1180,6 +1179,7 @@ var __meta__ = { // jshint ignore:line
11801179
},
11811180

11821181
_popupOpen: function(e) {
1182+
e.sender.element.children("." + FOCUSEDSTATE).removeClass(FOCUSEDSTATE);
11831183
if (this.options.scrollable) {
11841184
this._setPopupHeight(e.sender);
11851185
}

0 commit comments

Comments
 (0)