@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.
@@ -8493,9 +8493,6 @@ let Tab = class Tab extends Component {
8493
8493
  }
8494
8494
  }
8495
8495
  }
8496
- if (this.prevIndex !== this.selectedItem) {
8497
- ele.classList.remove(CLS_ACTIVE$1);
8498
- }
8499
8496
  }
8500
8497
  loadContentElement() {
8501
8498
  if (!this.isTemplate) {
@@ -8559,6 +8556,9 @@ let Tab = class Tab extends Component {
8559
8556
  this.getContent(ele, this.items[0].content, 'render', 0);
8560
8557
  }
8561
8558
  this.loadContentInitMode(ele);
8559
+ if (this.prevIndex !== this.selectedItem) {
8560
+ ele.classList.remove(CLS_ACTIVE$1);
8561
+ }
8562
8562
  }
8563
8563
  setStyleAttribute(this.cntEle, { 'height': this.maxHeight + 'px' });
8564
8564
  }
@@ -11909,6 +11909,9 @@ let TreeView = TreeView_1 = class TreeView extends Component {
11909
11909
  ul.style.visibility = '';
11910
11910
  }
11911
11911
  animateHeight(args, start, end) {
11912
+ if (isNullOrUndefined(args.element.parentElement)) {
11913
+ return;
11914
+ }
11912
11915
  const remaining = (args.duration - args.timeStamp) / args.duration;
11913
11916
  const currentHeight = (end - start) * remaining + start;
11914
11917
  args.element.parentElement.style.height = currentHeight + 'px';
@@ -14958,9 +14961,11 @@ let TreeView = TreeView_1 = class TreeView extends Component {
14958
14961
  this.updateWrap();
14959
14962
  break;
14960
14963
  case 'checkedNodes':
14961
- if (this.showCheckBox) {
14962
- this.checkedNodes = oldProp.checkedNodes;
14963
- this.setCheckedNodes(newProp.checkedNodes);
14964
+ if (JSON.stringify(oldProp.checkedNodes) !== JSON.stringify(newProp.checkedNodes)) {
14965
+ if (this.showCheckBox) {
14966
+ this.checkedNodes = oldProp.checkedNodes;
14967
+ this.setCheckedNodes(newProp.checkedNodes);
14968
+ }
14964
14969
  }
14965
14970
  break;
14966
14971
  case 'autoCheck':