Skip to content

Commit 51d5c58

Browse files
committed
fix: virtualization start row
1 parent 019c040 commit 51d5c58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/components/VirtualOrderableGrid.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
rowCount - 1,
156156
);
157157
158-
const startIndex: number = startRow;
158+
const startIndex: number = startRow * COLUMNS;
159159
const stopIndex: number = stopRow * COLUMNS + COLUMNS - 1;
160160
161161
return {

0 commit comments

Comments
 (0)