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

Incorrect max-width: 0px; when using fxFlex="1 1 0px" #534

@AbakumovAlexandr

Description

@AbakumovAlexandr

Bug, feature request, or proposal:

Bug.

What is the expected behavior?

Effect of generated CSS properties in case of fxFlex="1 1 0px" should match the one of flex: 1 1 0px;.

What is the current behavior?

When you use fxFlex="1 1 0px", max-width: 0px; is getting added to an element which breaks displaying of the element in some cases.

What are the steps to reproduce?

This is side-by-side demonstration of the issue with a simplified layout from my project:
StackBlitz

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Tested in IE 11, Edge, FF 57, Chrome 63.0.3239.84.
Angular 5.1.1, Material 5.0.1, Win 10, TS 2.4.2.

Is there anything else we should know?

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