fix(grid): cover horizontal wheel pagination
This commit is contained in:
1 parent
ff73a1df42
commit
46c0309c39
2 files changed
+6
No files matched your search
@@ -18,6 +18,7 @@ export function dataGridScrollPosition(top: number, left: number): DataGridScrol
|
||||
|
||||
export function shouldCheckInfiniteScrollAfterScroll(previous: DataGridScrollPosition | undefined, current: DataGridScrollPosition): boolean {
|
||||
if (!previous) return false;
|
||||
// Shift+wheel horizontal scrolling changes scrollLeft only and must not paginate.
|
||||
return previous.top !== current.top;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user