@syncfusion/ej2-navigations 28.2.4 → 28.2.5

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.
@@ -8769,9 +8769,6 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
8769
8769
  }
8770
8770
  }
8771
8771
  }
8772
- if (this.prevIndex !== this.selectedItem) {
8773
- ele.classList.remove(CLS_ACTIVE$1);
8774
- }
8775
8772
  };
8776
8773
  Tab.prototype.loadContentElement = function () {
8777
8774
  if (!this.isTemplate) {
@@ -8835,6 +8832,9 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
8835
8832
  this.getContent(ele, this.items[0].content, 'render', 0);
8836
8833
  }
8837
8834
  this.loadContentInitMode(ele);
8835
+ if (this.prevIndex !== this.selectedItem) {
8836
+ ele.classList.remove(CLS_ACTIVE$1);
8837
+ }
8838
8838
  }
8839
8839
  setStyleAttribute(this.cntEle, { 'height': this.maxHeight + 'px' });
8840
8840
  }
@@ -12250,6 +12250,9 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
12250
12250
  ul.style.visibility = '';
12251
12251
  };
12252
12252
  TreeView.prototype.animateHeight = function (args, start, end) {
12253
+ if (isNullOrUndefined(args.element.parentElement)) {
12254
+ return;
12255
+ }
12253
12256
  var remaining = (args.duration - args.timeStamp) / args.duration;
12254
12257
  var currentHeight = (end - start) * remaining + start;
12255
12258
  args.element.parentElement.style.height = currentHeight + 'px';
@@ -15334,9 +15337,11 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
15334
15337
  this.updateWrap();
15335
15338
  break;
15336
15339
  case 'checkedNodes':
15337
- if (this.showCheckBox) {
15338
- this.checkedNodes = oldProp.checkedNodes;
15339
- this.setCheckedNodes(newProp.checkedNodes);
15340
+ if (JSON.stringify(oldProp.checkedNodes) !== JSON.stringify(newProp.checkedNodes)) {
15341
+ if (this.showCheckBox) {
15342
+ this.checkedNodes = oldProp.checkedNodes;
15343
+ this.setCheckedNodes(newProp.checkedNodes);
15344
+ }
15340
15345
  }
15341
15346
  break;
15342
15347
  case 'autoCheck':