@syncfusion/ej2-layouts 19.4.48 → 19.4.52

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.
@@ -1590,7 +1590,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
1590
1590
  };
1591
1591
  Splitter.prototype.getSeparatorPosition = function (e) {
1592
1592
  this.updateCursorPosition(e, 'current');
1593
- var rectBound = (this.orientation === 'Horizontal') ? this.element.getBoundingClientRect().left :
1593
+ var rectBound = (this.orientation === 'Horizontal') ? this.element.getBoundingClientRect().left + window.scrollX :
1594
1594
  this.element.getBoundingClientRect().top + window.scrollY;
1595
1595
  var offSet = (this.orientation === 'Horizontal') ? this.element.offsetWidth : this.element.offsetHeight;
1596
1596
  return this.calcDragPosition(rectBound, offSet);
@@ -1867,7 +1867,7 @@ var Splitter = /** @__PURE__ @class */ (function (_super) {
1867
1867
  }
1868
1868
  };
1869
1869
  Splitter.prototype.validateDraggedPosition = function (draggedPos, prevPaneHeightWidth, nextPaneHeightWidth) {
1870
- var separatorTopLeft = (this.orientation === 'Horizontal') ? this.currentSeparator.offsetLeft :
1870
+ var separatorTopLeft = (this.orientation === 'Horizontal') ? this.currentSeparator.offsetLeft + window.scrollX :
1871
1871
  this.currentSeparator.offsetTop;
1872
1872
  var prePaneRange = separatorTopLeft - prevPaneHeightWidth;
1873
1873
  var nextPaneRange = nextPaneHeightWidth + separatorTopLeft;