@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.
@@ -3169,12 +3169,14 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
3169
3169
  var ul;
3170
3170
  var index;
3171
3171
  var navIdx;
3172
+ var item;
3172
3173
  for (var i = 0; i < items.length; i++) {
3173
3174
  navIdx = this.getIndex(items[i], isUniqueId);
3174
3175
  index = navIdx.pop();
3175
3176
  ul = this.getUlByNavIdx(navIdx.length);
3177
+ item = this.getItems(navIdx);
3176
3178
  if (ul) {
3177
- var validUl = isUniqueId ? ul.children[index].id : ul.children[index].textContent;
3179
+ var validUl = isUniqueId ? ul.children[index].id : item[index].text.toString();
3178
3180
  if (ishide && validUl === items[i]) {
3179
3181
  ul.children[index].classList.add(HIDE);
3180
3182
  }
@@ -14615,7 +14617,9 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
14615
14617
  this.isAnimate = false;
14616
14618
  this.isFieldChange = true;
14617
14619
  this.initialRender = true;
14618
- this.reRenderNodes();
14620
+ if (isNullOrUndefined(this.isReact) && !(this.fields.dataSource instanceof DataManager)) {
14621
+ this.reRenderNodes();
14622
+ }
14619
14623
  this.initialRender = false;
14620
14624
  this.isAnimate = true;
14621
14625
  this.isFieldChange = false;