@syncfusion/ej2-filemanager 28.1.36 → 28.1.39

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.
@@ -9998,7 +9998,7 @@ class NavigationPane {
9998
9998
  if (!this.renameParent) {
9999
9999
  this.parent.activeModule = 'navigationpane';
10000
10000
  const nodeData = this.getTreeData(getValue('id', args.nodeData));
10001
- if (args.node.getAttribute('data-uid') !== this.parent.pathId[this.parent.pathId.length - 1] && !this.isRightClick && !this.isNodeClickCalled || this.isSameNodeClicked) {
10001
+ if (args.node.getAttribute('data-uid') !== this.parent.pathId[this.parent.pathId.length - 1] && !this.isRightClick && !this.isNodeClickCalled || this.isSameNodeClicked || this.isPathDragged) {
10002
10002
  this.isNodeClickCalled = false;
10003
10003
  if (!this.isSameNodeClicked) {
10004
10004
  this.isSameNodeClicked = true;
@@ -10014,6 +10014,7 @@ class NavigationPane {
10014
10014
  this.restrictSelecting = this.isNodeClickCalled ? this.previousSelected[0] !== args.node.getAttribute('data-uid') : false;
10015
10015
  this.isNodeClickCalled = true;
10016
10016
  this.isSameNodeClicked = false;
10017
+ this.isPathDragged = false;
10017
10018
  this.previousSelected = this.treeObj.selectedNodes;
10018
10019
  this.treeObj.setProperties({ selectedNodes: [args.node.getAttribute('data-uid')] });
10019
10020
  }