@syncfusion/ej2-navigations 21.2.6 → 21.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3146,7 +3146,8 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
3146
3146
  index = navIdx.pop();
3147
3147
  ul = this.getUlByNavIdx(navIdx.length);
3148
3148
  if (ul) {
3149
- if (ishide) {
3149
+ var validUl = isUniqueId ? ul.children[index].id : ul.children[index].textContent;
3150
+ if (ishide && validUl === items[i]) {
3150
3151
  ul.children[index].classList.add(HIDE);
3151
3152
  }
3152
3153
  else {