@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
@@ -1564,7 +1564,7 @@ let Splitter = class Splitter extends Component {
|
|
1564
1564
|
}
|
1565
1565
|
getSeparatorPosition(e) {
|
1566
1566
|
this.updateCursorPosition(e, 'current');
|
1567
|
-
const rectBound = (this.orientation === 'Horizontal') ? this.element.getBoundingClientRect().left :
|
1567
|
+
const rectBound = (this.orientation === 'Horizontal') ? this.element.getBoundingClientRect().left + window.scrollX :
|
1568
1568
|
this.element.getBoundingClientRect().top + window.scrollY;
|
1569
1569
|
const offSet = (this.orientation === 'Horizontal') ? this.element.offsetWidth : this.element.offsetHeight;
|
1570
1570
|
return this.calcDragPosition(rectBound, offSet);
|
@@ -1841,7 +1841,7 @@ let Splitter = class Splitter extends Component {
|
|
1841
1841
|
}
|
1842
1842
|
}
|
1843
1843
|
validateDraggedPosition(draggedPos, prevPaneHeightWidth, nextPaneHeightWidth) {
|
1844
|
-
const separatorTopLeft = (this.orientation === 'Horizontal') ? this.currentSeparator.offsetLeft :
|
1844
|
+
const separatorTopLeft = (this.orientation === 'Horizontal') ? this.currentSeparator.offsetLeft + window.scrollX :
|
1845
1845
|
this.currentSeparator.offsetTop;
|
1846
1846
|
const prePaneRange = separatorTopLeft - prevPaneHeightWidth;
|
1847
1847
|
const nextPaneRange = nextPaneHeightWidth + separatorTopLeft;
|