@syncfusion/ej2-filemanager 27.1.55 → 27.2.2

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.
@@ -9502,7 +9502,7 @@ class Virtualization {
9502
9502
  let itemCount = this.rowItemCount *
9503
9503
  (Math.round(parseFloat(formatUnit(this.largeIconInstance.element.clientHeight)) / this.itemList[0].offsetHeight));
9504
9504
  // If the calculated item count is greater than the data source length, set the item count to the data source length
9505
- if (itemCount > dataSourceLength) {
9505
+ if (itemCount > dataSourceLength || itemCount === 0) {
9506
9506
  itemCount = dataSourceLength;
9507
9507
  }
9508
9508
  return itemCount;
@@ -10178,7 +10178,7 @@ class NavigationPane {
10178
10178
  this.addDragDrop();
10179
10179
  break;
10180
10180
  case 'navigationPaneSettings':
10181
- read(this.parent, finalizeEnd, '/');
10181
+ read(this.parent, finalizeEnd, this.parent.path);
10182
10182
  if (e.oldProp.navigationPaneSettings.sortOrder !== e.newProp.navigationPaneSettings.sortOrder) {
10183
10183
  this.treeObj.sortOrder = e.newProp.navigationPaneSettings.sortOrder;
10184
10184
  }