-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
rzMaxHeight does not stop resize on the max height when both rzMaxHeight and rzMaxWidth exist.
The problem is simple to replicate:
Lets say we have 1000x1000 container and rzMaxHeight and rzMaxWidth are 1000, and we have div which is 600x500.
When we resize that div it should stop when we hit 1000 height, but it just continues until we actually hit 1000 width which in the end makes our div 1200x1000 which is bigger than a container.
Edit: Important note, this happens only if [rzAspectRatio]="true"
Metadata
Metadata
Assignees
Labels
No labels