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.

fxFlex angular flex layout not working as expected version 7.0.0-beta.19 #909

@billyjov

Description

@billyjov

Bug Report

Flex layout does not work as expected using the latest version 7.0.0-beta.19 and work fine with the version 5.0.0-beta.13

What is the expected behavior?

flex-bug-expected

What is the current behavior?

flex-bug-current

What are the steps to reproduce?

Providing a StackBlitz (or similar) is the best way to get the team to see your issue.

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

The behavior should match the flex layout idea and principle.

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

OS: Windows 10
Typescript: 3.1.6
Angular: 7
Angular-CLI: 7.1

Is there anything else we should know?

HERE the code snippet

<div fxLayout="row wrap" fxLayoutGap="32px" fxLayoutAlign="start start">
  <ng-container *ngFor="let _ of [1,2,3,4,5,6]">
    <p fxFlex="0 1 calc(33.3% - 32px)">Flex</p>
  </ng-container>
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions