Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Responsive Flex Layout Chrome Bug #481

Closed
@JaimeStill

Description

@JaimeStill

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

Chrome at gt-md
chrome-gt-md

Chrome at lt-lg
chrome-lt-lg

Firefox at lt-lg
firefox-lt-lg

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'}">

Metadata

Metadata

Labels

P1Urgent issue that should be resolved before the next re-leasehas prA PR has been created to address this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions