@syncfusion/ej2-filemanager 23.1.36 → 23.1.38

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.
@@ -4160,7 +4160,7 @@ var LargeIconsView = /** @__PURE__ @class */ (function () {
4160
4160
  };
4161
4161
  LargeIconsView.prototype.createDragObj = function () {
4162
4162
  var _this = this;
4163
- if (!this.parent.isMobile && this.listObj) {
4163
+ if (this.listObj) {
4164
4164
  if (this.parent.allowDragAndDrop) {
4165
4165
  if (this.dragObj) {
4166
4166
  this.dragObj.destroy();
@@ -9024,8 +9024,12 @@ var NavigationPane = /** @__PURE__ @class */ (function () {
9024
9024
  }
9025
9025
  length_1++;
9026
9026
  }
9027
- // eslint-disable-next-line
9028
- this.treeObj.addNodes(directories, target, null, prevent);
9027
+ var element = select('[data-uid="' + target + '"]', this.treeObj.element);
9028
+ var childElements = select('ul', element);
9029
+ if (isNullOrUndefined(childElements)) {
9030
+ // eslint-disable-next-line
9031
+ this.treeObj.addNodes(directories, target, null, prevent);
9032
+ }
9029
9033
  }
9030
9034
  };
9031
9035
  // Node Selecting event handler
@@ -10752,7 +10756,7 @@ var DetailsView = /** @__PURE__ @class */ (function () {
10752
10756
  };
10753
10757
  DetailsView.prototype.createDragObj = function () {
10754
10758
  var _this = this;
10755
- if (!this.parent.isMobile && this.gridObj) {
10759
+ if (this.gridObj) {
10756
10760
  if (this.parent.allowDragAndDrop) {
10757
10761
  if (this.dragObj) {
10758
10762
  this.dragObj.destroy();