Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rzAspectRatio does not work on dynamically added div #251

Open
stjjelic opened this issue Jan 17, 2023 · 0 comments
Open

rzAspectRatio does not work on dynamically added div #251

stjjelic opened this issue Jan 17, 2023 · 0 comments

Comments

@stjjelic
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant