@syncfusion/ej2-navigations 27.2.3 → 27.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.
@@ -9113,7 +9113,7 @@ let Tab = class Tab extends Component {
9113
9113
  else {
9114
9114
  if (this.items.length > 0 && this.draggingItems.length > 0) {
9115
9115
  this.items = this.draggingItems;
9116
- this.selectedItem = this.droppedIndex;
9116
+ this.selectedItem = isNullOrUndefined(this.droppedIndex) ? this.getEleIndex(this.dragItem) : this.droppedIndex;
9117
9117
  this.refresh();
9118
9118
  }
9119
9119
  else {
@@ -10870,7 +10870,9 @@ let TreeView = TreeView_1 = class TreeView extends Component {
10870
10870
  .filter((childNode) => {
10871
10871
  if (childNode && typeof childNode === 'object' && 'pid' in childNode) {
10872
10872
  const childNodePid = childNode.pid;
10873
- return childNodePid.toString() === dataUid;
10873
+ if (!isNullOrUndefined(childNodePid)) {
10874
+ return childNodePid.toString() === dataUid;
10875
+ }
10874
10876
  }
10875
10877
  return false;
10876
10878
  });
@@ -15105,7 +15107,7 @@ let TreeView = TreeView_1 = class TreeView extends Component {
15105
15107
  }
15106
15108
  else {
15107
15109
  this.expandAllNodes(excludeHiddenNodes);
15108
- if (!this.loadOnDemand) {
15110
+ if (!this.loadOnDemand || this.element.classList.contains('e-filtering')) {
15109
15111
  this.updateAttributes(this.element);
15110
15112
  this.updateList();
15111
15113
  }