@syncfusion/ej2-filemanager 21.1.41 → 21.2.3

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.
@@ -8658,7 +8658,7 @@ class NavigationPane {
8658
8658
  }
8659
8659
  }
8660
8660
  else if (this.previousSelected[0] !== args.node.getAttribute('data-uid')) {
8661
- const selecEventArgs = { action: args.action, fileDetails: nodeData[0], isInteracted: args.isInteracted };
8661
+ const selecEventArgs = { action: args.action, fileDetails: nodeData[0], isInteracted: this.isNodeClickCalled };
8662
8662
  this.parent.trigger('fileSelect', selecEventArgs);
8663
8663
  }
8664
8664
  }
@@ -8708,11 +8708,11 @@ class NavigationPane {
8708
8708
  this.parent.pathId = getPathId(args.node);
8709
8709
  this.parent.visitedItem = args.node;
8710
8710
  }
8711
+ this.expandNodeTarget = null;
8712
+ if (args.node.querySelector('.' + ICONS) && args.node.querySelector('.' + LIST_ITEM) === null) {
8713
+ this.expandNodeTarget = 'add';
8714
+ }
8711
8715
  if (previousPath !== this.parent.path) {
8712
- this.expandNodeTarget = null;
8713
- if (args.node.querySelector('.' + ICONS) && args.node.querySelector('.' + LIST_ITEM) === null) {
8714
- this.expandNodeTarget = 'add';
8715
- }
8716
8716
  if (!this.isRightClick && this.isSameNodeClicked) {
8717
8717
  read(this.parent, this.isPathDragged ? pasteEnd : pathChanged, this.parent.path);
8718
8718
  this.isNodeClickCalled = true;
@@ -9604,7 +9604,7 @@ class DetailsView {
9604
9604
  const columns = this.parent.detailsViewSettings.columns;
9605
9605
  for (let i = 0; i < columns.length; i++) {
9606
9606
  if (columns[i].field === 'size') {
9607
- sizeFormat = columns[i].format.toString();
9607
+ sizeFormat = !isNullOrUndefined(columns[i].format) ? columns[i].format.toString() : 'n';
9608
9608
  break;
9609
9609
  }
9610
9610
  }
@@ -9846,6 +9846,7 @@ class DetailsView {
9846
9846
  }
9847
9847
  else if (!isNullOrUndefined(this.gridObj)) {
9848
9848
  this.gridObj.clearSelection();
9849
+ this.interaction = true;
9849
9850
  }
9850
9851
  break;
9851
9852
  case 'showFileExtension':