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.

Unable to get component inside router-outlet to fill space #782

@aks1994

Description

@aks1994

Bug Report

What is the expected behavior?

For a nested component, I am able to put the fxFlex directly onto it but not on the router-outlet. Would expect some way to do that for a router-outlet.

What is the current behavior?

Reading issues and stack overflow, suggested solutions say to wrap the router-outlet in a

but that is not working for me. The child component does not fill the space. Am I doing something wrong or is this a bug / not a supported feature? Seems strange to me that router-outlets would not be supported but please let me know, thanks.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-flex-layout-seed-aqjqri

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

Angular v5, using angular-flex-layout 5.0.0-beta.15

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