Skip to content

Commit 3809d9a

Browse files
raheeliftikhar5FalkWolsky
authored and
FalkWolsky
committed
fix broken modal issue
1 parent f6b6bd8 commit 3809d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/comps/hooks/modalComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ let TmpModalComp = (function () {
161161
items={gridItemCompToGridItems(items)}
162162
autoHeight={props.autoHeight}
163163
minHeight={paddingValues ? DEFAULT_HEIGHT - paddingValues[0] * 2 + "px" : ""}
164-
containerPadding={paddingValues ? [paddingValues[0], paddingValues[1]] : [24,24]}
164+
containerPadding={paddingValues ? [paddingValues[0] ?? 0, paddingValues[1] ?? 0] : [24,24]}
165165
hintPlaceholder={HintPlaceHolder}
166166
/>
167167
</Modal>

0 commit comments

Comments
 (0)