Re: [csswg-drafts] [css-grid-2] Grid Track Explicit Sizing Controls (aka Flex Sizing in Grid) (#4147)

This is worth considering, as our team has run into the same issue many times.  I found this while searching for possible improved solutions via google.   The current solution we have implemented is to use ResizeObserver to add and remove classes onto the grid that in turn change the widths of the separators.  This is not great since it can not take the sizing of the other columns into account.

Any potential solution just needs to be able to provide the developer with the ability to specify the order in which each section should collapse or expand.  The proposed solution above works but I would suggest the format should be  
```css
flex(flex-grow, flex-shrink, flex-basis, min-width, max-width)
``` 
Because in flexbox min-width and max-width are specified by separate css properties.


-- 
GitHub Notification of comment by TigTog-uiux
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4147#issuecomment-516285466 using your GitHub account

Received on Tuesday, 30 July 2019 06:39:38 UTC