Skip to content

rzAspectRatio does not work on dynamically added div #251

@stjjelic

Description

@stjjelic

As stated in the title, let's say that we have a div that will conditionally render and that div has [rzAspectRatio]="true".
Once the condition is met and the div is rendered, resize won't hold the aspect ratio. If I remove the condition and render div onInit, resize works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions