Content-Length: 279327 | pFad | http://github.com/lowcoder-org/lowcoder/commit/40619e9855e6abb408e19d39b135d46ddf31f07d

7E fix hidden container results into white spaces · lowcoder-org/lowcoder@40619e9 · GitHub
Skip to content

Commit 40619e9

Browse files
fix hidden container results into white spaces
1 parent 6d4cd53 commit 40619e9

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

client/packages/lowcoder/src/layout/compSelectionWrapper.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -242,18 +242,8 @@ const ResizableChildren = React.memo((props: {
242242
children: JSX.Element | React.ReactNode;
243243
}) => {
244244
const { ref: innerRef } = useResizeDetector({
245-
skipOnMount: (
246-
props.compType === 'responsiveLayout'
247-
|| props.compType === 'columnLayout'
248-
|| props.compType === 'pageLayout'
249-
|| props.compType === 'splitLayout'
250-
|| props.compType === 'floatTextContainer'
251-
|| props.compType === 'tabbedContainer'
252-
|| props.compType === 'collapsibleContainer'
253-
|| props.compType === 'container'
254-
),
255245
refreshMode: "debounce",
256-
refreshRate: 0,
246+
refreshRate: 10,
257247
onResize: ({width, height}: ResizePayload) => props.onInnerResize(width ?? undefined, height ?? undefined),
258248
observerOptions: { box: "border-box" }
259249
});

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lowcoder-org/lowcoder/commit/40619e9855e6abb408e19d39b135d46ddf31f07d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy