New issue
Advanced search Search tips

Issue 811080 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 596743
Owner: ----
Closed: Sep 27
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Nested FlexBoxs cause zero height elements causing overlaps.

Reported by knpatr...@gmail.com, Feb 11 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3338.0 Safari/537.36

Steps to reproduce the problem:
1. Please load code pen item https://codepen.io/anon/pen/oEWgze on FF and Chrome and compare differences.
2. Observe the differences in overlap on chrome that is not of FF.
3. Use Chrome Inspector to see that the row-item divs are zero height and therefore overlap.

What is the expected behavior?
As per FireFox, there should not be overlap.

What went wrong?
divs are overridden due to zero height computation.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 66.0.3338.0  Channel: n/a
OS Version: 10.0
Flash Version:
 
Labels: Needs-Triage-M66
Components: Blink>Layout>Flexbox
Labels: Triaged-ET M-66 FoundIn-66 Target-66 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on Mac 10.12.6, Win-10 and Ubuntu 14.04 using chrome reported version #64.0.3282.140 and latest canary #66.0.3344.0.
This is a non-regression issue as it is observed from M60 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!

Comment 3 by e...@chromium.org, Feb 12 2018

Status: Available (was: Untriaged)
Mergedinto: 596743
Status: Duplicate (was: Available)
You can work around this (in the testcase) by giving the inner flexbox a min-height: min-content; or flex-shrink: 0;

Sign in to add a comment