react-native/ReactCommon/yoga
Pritesh Nandgaonkar 5be1726d28 Solve width bug when the size is less than min
Summary:
This diff updates the logic which reassigns `remainingFreeSpace` when the node's calculated dimension falls below min width of the node.

So we will have to update the `remainingFreeSpace` as there is more available space since the calculated nodes width is less than the min width.

I have also added comments at relevant places in the code so that it is clearer.

This diff solves the issue raised in litho support grp. The details can be found here T32199608. This diff also makes sure that it doesn't break fblite, as the earlier version broke it, details of which can be found here T32881750.

Reviewed By: IanChilds

Differential Revision: D9359026

fbshipit-source-id: 4168e385e962c168a9de9370220c75f14a6726a7
2018-08-20 06:20:52 -07:00
..
yoga Solve width bug when the size is less than min 2018-08-20 06:20:52 -07:00
Android.mk Bump Android NDK to r17b (#20357) 2018-07-30 14:02:11 -07:00
BUCK Build yoga in OSS 2018-03-27 15:19:20 -07:00
yoga.podspec iOS OSS: update podspec's to target iOS 9.0 2018-05-23 06:16:00 -07:00