@syncfusion/ej2-filemanager 20.2.39 → 20.2.43

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.
@@ -1750,6 +1750,11 @@ function readDropPath(parent) {
1750
1750
  else {
1751
1751
  if (parent.navigationpaneModule) {
1752
1752
  var node = select('[data-uid="' + pathId + '"]', parent.navigationpaneModule.treeObj.element);
1753
+ if (!node) {
1754
+ var liElement = document.querySelector('[data-id = "' + getValue('id', parent.dropData) + '"]');
1755
+ pathId = liElement.getAttribute("data-uid");
1756
+ node = select('[data-uid="' + pathId + '"]', parent.navigationpaneModule.treeObj.element);
1757
+ }
1753
1758
  updatePath(node, parent.dropData, parent);
1754
1759
  }
1755
1760
  read(parent, dropPath, parent.dropPath);
@@ -5929,7 +5934,7 @@ var ContextMenu$2 = /** @__PURE__ @class */ (function () {
5929
5934
  data = this.parent.detailsviewModule.gridObj.getRowObjectFromUID(uid).data;
5930
5935
  if (isNullOrUndefined(this.targetElement.getAttribute('aria-selected'))) {
5931
5936
  /* istanbul ignore next */
5932
- this.parent.detailsviewModule.gridObj.selectRows([parseInt(this.targetElement.getAttribute('aria-rowindex'), 10)]);
5937
+ this.parent.detailsviewModule.gridObj.selectRows([parseInt(this.targetElement.getAttribute('data-rowindex'), 10)]);
5933
5938
  }
5934
5939
  selected = true;
5935
5940
  /* istanbul ignore next */
@@ -10329,7 +10334,7 @@ var DetailsView = /** @__PURE__ @class */ (function () {
10329
10334
  };
10330
10335
  DetailsView.prototype.getFocusedItemIndex = function () {
10331
10336
  return (!isNullOrUndefined(this.getFocusedItem())) ?
10332
- parseInt(this.getFocusedItem().getAttribute('aria-rowindex'), 10) : null;
10337
+ parseInt(this.getFocusedItem().getAttribute('data-rowindex'), 10) : null;
10333
10338
  };
10334
10339
  /* istanbul ignore next */
10335
10340
  // eslint:disable-next-line