mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e16faca18c
Summary: Right now we use layout direction determined by I18NManager to influence the root Yoga layout direction. Individual views may have a different resolved layout direction (e.g. due to `direction` style prop), and even though we don't rely on Android layout props, Android components still need to inherit or know the right layout direction to still do correct drawing. Example of this was scrollbar showing up on the left, instead of right in RTL, as soon as ScrollView knew it was in RTL. This has potential to change a good amount of behavior, so this is under QE. Changelog: [Android][Fixed] - Propagate layout direction to Android Views and Drawables Reviewed By: joevilches Differential Revision: D57248417 fbshipit-source-id: 4bcdf2b23277ff926a796b8377df08d49c7b914c