fix(grid): cover horizontal wheel pagination

This commit is contained in:
t8y2 committed 2026-07-03 00:02:11 +08:00
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;
}