Skip to content

Commit 524a846

Browse files
committed
fix: ensure table renders minimum page size rows
1 parent 1a2e30b commit 524a846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/client/src/widgets/TableWidgetV2/component/VirtualTable/VirtualTableBodyComponent.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const VirtualTableBodyComponent = React.forwardRef(
1717
<FixedVirtualList
1818
height={height}
1919
innerElementType={props.innerElementType}
20-
itemCount={rows.length}
20+
itemCount={Math.max(rows.length, pageSize)}
2121
outerRef={ref}
2222
pageSize={pageSize}
2323
rows={rows}

0 commit comments

Comments
 (0)