@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.
@@ -3034,7 +3034,8 @@ let MenuBase = class MenuBase extends Component {
3034
3034
  index = navIdx.pop();
3035
3035
  ul = this.getUlByNavIdx(navIdx.length);
3036
3036
  if (ul) {
3037
- if (ishide) {
3037
+ let validUl = isUniqueId ? ul.children[index].id : ul.children[index].textContent;
3038
+ if (ishide && validUl === items[i]) {
3038
3039
  ul.children[index].classList.add(HIDE);
3039
3040
  }
3040
3041
  else {