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.

Bug (or expected behavior) when i add items to existing fxLayout or use HTTP with *ngFor #128

@oshri551

Description

@oshri551

I tried to use fxLayout="column" with fxLayoutGap

I get my appDetails via object http get, the expected behavior is that there will be 10px gap between the items, but there is no gap.

<div fxLayoutAlign="start center" fxLayout="column" fxLayoutGap="10px">
   <button *ngFor="let action of appDetails.Actions" md-raised-button color="primary"   
   {{action.ActionName}}
   </button>
</div>

What i did to replicate it is to create static array with few items and then use the *ngFor to show them and that works (but it's not async) so i made a button to add items to the array, those items rendered without the fxLayoutGap.

I made plunker based on the plunker template

You can see the items that were before in the array rendered perfectly, but if i add new item it rendered without to flexLayoutGap (same for row and column)

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