mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 22:58:19 +00:00
Summary: ... instead of using direction access to `ygNode.getLayout()` object. Suddenly, YGLayout object that YGNode exposes contains unresolved/directional-unaware styles. To get resolved directional-aware styles we have to use functions from Yoga.h. I am not happy with this solution, I will try to implement something like `ygNode.getResolvedLayout()` and use that instead. This change fixes strange missing horizontal padding around some views. Reviewed By: mdvacca Differential Revision: D10112049 fbshipit-source-id: 4b6ef39d8dd34e78a4592962e8af4eeaa5028768