mirror of
https://github.com/The-Low-Code-Foundation/OpenNoodl.git
synced 2026-01-10 14:22:53 +01:00
fix(runtime): Column node, hide children on calculation (#59)
This removes the initial visible layout shift
This commit is contained in:
committed by
Richard Osborne
parent
a96e499856
commit
090f099a30
@@ -129,6 +129,7 @@ export function Columns(props: ColumnsProps) {
|
||||
className={['columns-container', props.className].join(' ')}
|
||||
ref={containerRef}
|
||||
style={{
|
||||
visibility: containerWidth === null ? "hidden" : "visible",
|
||||
marginTop: parseFloat(props.marginY) * -1,
|
||||
marginLeft: parseFloat(props.marginX) * -1,
|
||||
display: 'flex',
|
||||
|
||||
Reference in New Issue
Block a user