Skip to content

Commit 21ced62

Browse files
add rowCount in readonly view
1 parent 81a55be commit 21ced62

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

client/packages/lowcoder/src/comps/comps/gridLayoutComp/canvasView.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ export const CanvasView = React.memo((props: ContainerBaseProps) => {
230230
{...gridLayoutCanvasProps}
231231
bgColor={bgColor}
232232
radius="0px"
233+
emptyRows={defaultRowCount}
234+
minHeight={defaultMinHeight}
235+
extraHeight={defaultRowCount === DEFAULT_ROW_COUNT ? rootContainerExtraHeight : undefined }
233236
/>
234237
</Profiler>
235238
</UICompContainer>

0 commit comments

Comments
 (0)