[YogaKit] IOS Screen rotation doesn't invalidate the layout ok #557
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
IOS Screen rotation doesn't invalidate the layout. The layout is wrong after rotation.
I tested this with the sample app and added an additional applyLayout call in didLayoutSubviews of the VC (see code below)
to summarize the two issues:
difference is ~ 1px :)
I changed the container size and moved calling applyLayout to didLayoutSubviews.
BUT this results in a different layout than before though....
I added this to the sample:
+1 , I have the same question
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.