Skip to content

Commit 72db738

Browse files
committed
#6494 grid.ScrollManager: using scrollLeft & scrollTop
1 parent 14e3192 commit 72db738

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/grid/ScrollManager.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class ScrollManager extends Base {
102102
me.scrollLeft = scrollLeft;
103103

104104
me.gridHeaderToolbar.scrollLeft = scrollLeft;
105-
view.scrollPosition = {x: scrollLeft, y: view.scrollPosition.y};
105+
view.scrollPosition = {x: scrollLeft, y: me.scrollTop};
106106

107107
if (touches) {
108108
if (me.touchMoveOwner !== 'view') {
@@ -163,7 +163,7 @@ class ScrollManager extends Base {
163163

164164
view.set({
165165
isScrolling : true,
166-
scrollPosition: {x: view.scrollPosition.x, y: scrollTop}
166+
scrollPosition: {x: me.scrollLeft, y: scrollTop}
167167
});
168168

169169
if (touches) {

0 commit comments

Comments
 (0)