Inside Flexbox, 1fr rows in CSS Grid do not grow vertically
Reported by
h...@noahtye.com,
Aug 22
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 Steps to reproduce the problem: Open the attached file, which includes a CSS Grid layout inside a Flexbox layout. Specifically, the element with `display: grid` is a child element with `flex-grow: 1` of the container element which has `display: flexbox`. What is the expected behavior? The elements in the grid (toolbar, left pane, right pane) should fill the extra space vertically, as Firefox and Safari render it. What went wrong? The elements in the grid (toolbar, left pane, right pane) do not fill up the entire space vertically. The 1fr specification for both rows appears to have no effect, and those rows behave as if their grid-template-rows are `auto` rather than `1fr`. Did this work before? N/A Does this work in other browsers? Yes Chrome version: 68.0.3440.106 Channel: stable OS Version: OS X 10.13.6 Flash Version:
,
Aug 23
,
Aug 24
Able to reproduce the issue on chrome reported version# 68.0.3440.106 and on latest chrome# 70.0.3530.0 using Linux 14.04, Mac 10.12.6 and Windows-10 with '.html' file provided in comment# 0. As this issue is seen from M-60(60.0.3112.0), hence considering this issue as Non-Regression and marking it as Untriaged. Thanks!
,
Aug 26
,
Sep 4
I believe this is a duplicate of #784059. As a workaround for this particular case, you can use "flex-basis: 0" in #nested-grid to get the expected output. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by lgar...@chromium.org
, Aug 22