This repository was archived by the owner on Jan 6, 2025. It is now read-only.
Responsive Flex Layout Chrome Bug #481
Closed
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
When moving from row to column layout, controls should stack appropriately
What is the current behavior?
In Chrome, when transitioning from row to column layout with an element that has a nested column layout, all of the elements merge onto the same line.
Examples
What are the steps to reproduce?
Repro
All of the relevant markup is in test.component.html
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Tested with the following:
Angular 4.4.4
Material 2 beta 12
flex-layout 2 beta 10
Is there anything else we should know?
While the following causes the mess in Chrome, but works in Firefox and Edge:
<div fxFlex fxLayout="column" fxLayoutAlign="start stretch">
The following causes the intended behavior to work in all browsers:
<div fxLayout="column" fxLayoutAlign="start stretch" [ngStyle.gt-md]="{'flex': '1 1 auto'}">