[YogaKit] Fix layout view with yoga disabled #951
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
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?
Problem
CALayer position contains NaN: [nan nan].
Solution
Testing plan
Create a container view with yoga enabled
Add to the container a subview to the view with yoga enabled
Add to the container a subview to the view without yoga enabled
Call
applyLayoutPreservingOrigin
on the container view.Code:
Error:
When Can We Merge it?
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.
Pull request closed