@syncfusion/ej2-navigations 23.1.44 → 23.2.4

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.
@@ -3056,12 +3056,14 @@ let MenuBase = class MenuBase extends Component {
3056
3056
  let ul;
3057
3057
  let index;
3058
3058
  let navIdx;
3059
+ let item;
3059
3060
  for (let i = 0; i < items.length; i++) {
3060
3061
  navIdx = this.getIndex(items[i], isUniqueId);
3061
3062
  index = navIdx.pop();
3062
3063
  ul = this.getUlByNavIdx(navIdx.length);
3064
+ item = this.getItems(navIdx);
3063
3065
  if (ul) {
3064
- const validUl = isUniqueId ? ul.children[index].id : ul.children[index].textContent;
3066
+ const validUl = isUniqueId ? ul.children[index].id : item[index].text.toString();
3065
3067
  if (ishide && validUl === items[i]) {
3066
3068
  ul.children[index].classList.add(HIDE);
3067
3069
  }
@@ -14265,7 +14267,9 @@ let TreeView = TreeView_1 = class TreeView extends Component {
14265
14267
  this.isAnimate = false;
14266
14268
  this.isFieldChange = true;
14267
14269
  this.initialRender = true;
14268
- this.reRenderNodes();
14270
+ if (isNullOrUndefined(this.isReact) && !(this.fields.dataSource instanceof DataManager)) {
14271
+ this.reRenderNodes();
14272
+ }
14269
14273
  this.initialRender = false;
14270
14274
  this.isAnimate = true;
14271
14275
  this.isFieldChange = false;