You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behaviour:
If I have two panes, and the second pane can be closed on user interaction, minSize takes precendence over collapsedSize and generating inline style as flex: minSize 1 0.
Expected behaviour:
If I have two panes, and the second pane can be closed on user interaction, collapsedSize to takes precedence over minSize and generating inline style as flex: collapsedSize 1 0, or not generating the inline style at all.
The text was updated successfully, but these errors were encountered:
igortas
changed the title
Collapsed size not working when minSize is already provided
Collapsed size not working when minSize is already provided (initial minSize on first render)
Jan 22, 2025
igortas
changed the title
Collapsed size not working when minSize is already provided (initial minSize on first render)
collapsedSize not working when minSize is already provided (initial minSize on first render)
Jan 22, 2025
Hi,
I'm trying to toggle on/off and some panes, but there is problem with
minSize
when is already provided, e.g 25.The library generate this inline style:
First workaround with conditional and setting
minSize
toundefined
not working.Using
sx
with!important
for flex prop as workaround works.Current behaviour:
If I have two panes, and the second pane can be closed on user interaction,
minSize
takes precendence overcollapsedSize
and generating inline style asflex: minSize 1 0
.Expected behaviour:
If I have two panes, and the second pane can be closed on user interaction,
collapsedSize
to takes precedence overminSize
and generating inline style asflex: collapsedSize 1 0
, or not generating the inline style at all.The text was updated successfully, but these errors were encountered: