@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.
- package/dist/ej2-layouts.umd.min.js +2 -2
- package/dist/ej2-layouts.umd.min.js.map +1 -1
- package/dist/es6/ej2-layouts.es2015.js +2 -2
- package/dist/es6/ej2-layouts.es2015.js.map +1 -1
- package/dist/es6/ej2-layouts.es5.js +2 -2
- package/dist/es6/ej2-layouts.es5.js.map +1 -1
- package/dist/global/ej2-layouts.min.js +2 -2
- package/dist/global/ej2-layouts.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/splitter/splitter.js +2 -2
@@ -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;
|