[YogaKit] crash from property "auto" for YGValue #619
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
I try to set "auto" for some attribute layout like width or height
That code I got from YogaKitExample application
Expected Behavior
Can set this attribute like Android.
Metoo, someone pls fix this, auto is important value for design
Me too.
Setting the margin to
auto
will getNAN
s.The minimal code to reproduce this issue:
Did anybody manage to solve this problem?
Or maybe there is any other way to fit the container size to its content?
it seems to work as expected
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.