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
If you have a reflex container with multiple reflex elements and set one of the element's flex props to 0, it will result in the element sizing as if the flex element was set to undefined.
When the expected result would typically be that the element is minimized. A work around is to set the flex prop to 0.0001, which reduces the size to a negligible size.
The text was updated successfully, but these errors were encountered:
yes, it's not really a bug but a limitation as a flex of 0 is not supported by the internal logic of the container (it causes a division by 0). See related talk in #146. The workaround is to not render the ReflexElement at all or to use minSize to avoid flex becoming 0. Hope that helps.
If you have a reflex container with multiple reflex elements and set one of the element's
flex
props to 0, it will result in the element sizing as if the flex element was set to undefined.For example:
will result in the same sizing as:
When the expected result would typically be that the element is minimized. A work around is to set the flex prop to 0.0001, which reduces the size to a negligible size.
The text was updated successfully, but these errors were encountered: