Skip to content

Commit 4c2d8ae

Browse files
committed
fix(grid): Paging to reset only vertical scroll position #5944
1 parent e406a56 commit 4c2d8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ export abstract class IgxGridBaseComponent extends DisplayDensityBase implements
544544
this.onPagingDone.emit({ previous: this._page, current: val });
545545
this._page = val;
546546
this.pageChange.emit(this._page);
547-
this.scrollTo(0, 0);
547+
this.navigateTo(0);
548548
this.notifyChanges();
549549
}
550550

0 commit comments

Comments
 (0)