aspectRatio not work as expected in yoga 1.14.0 #944
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Report
Issues and Steps to Reproduce
On iOS 12, yoga 1.14.0, init UIImageView with properties
aspectRatio: 1
width: 100
With SDWebImage to set remote image (size: 150 x 300)
The final size of the UIImageView is 100 x 300
Expected Behavior
I hope the UIImageView size is 100 x 100
Actual Behavior
The UIImageView size is 100 x 300
Before I use yoga 1.6.0, it works well
We are deprecating YogaKit as part of the Yoga 2.0 release. We are still going to release a new revision based on the current state of the repo, but won't be accepting new contributions, since we are going to be removing it from the repo after.