@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.
@@ -10201,7 +10201,7 @@ var NavigationPane = /** @__PURE__ @class */ (function () {
10201
10201
  if (!this.renameParent) {
10202
10202
  this.parent.activeModule = 'navigationpane';
10203
10203
  var nodeData = this.getTreeData(getValue('id', args.nodeData));
10204
- if (args.node.getAttribute('data-uid') !== this.parent.pathId[this.parent.pathId.length - 1] && !this.isRightClick && !this.isNodeClickCalled || this.isSameNodeClicked) {
10204
+ if (args.node.getAttribute('data-uid') !== this.parent.pathId[this.parent.pathId.length - 1] && !this.isRightClick && !this.isNodeClickCalled || this.isSameNodeClicked || this.isPathDragged) {
10205
10205
  this.isNodeClickCalled = false;
10206
10206
  if (!this.isSameNodeClicked) {
10207
10207
  this.isSameNodeClicked = true;
@@ -10217,6 +10217,7 @@ var NavigationPane = /** @__PURE__ @class */ (function () {
10217
10217
  this.restrictSelecting = this.isNodeClickCalled ? this.previousSelected[0] !== args.node.getAttribute('data-uid') : false;
10218
10218
  this.isNodeClickCalled = true;
10219
10219
  this.isSameNodeClicked = false;
10220
+ this.isPathDragged = false;
10220
10221
  this.previousSelected = this.treeObj.selectedNodes;
10221
10222
  this.treeObj.setProperties({ selectedNodes: [args.node.getAttribute('data-uid')] });
10222
10223
  }