mirror of
https://github.com/status-im/react-native.git
synced 2025-01-30 03:05:44 +00:00
dba1ce46bf
Summary: **Motivation** For the `Text` component, if `numberOfLines` is set to `0`, the behavior on iOS is such that there is no limit. On Android, the behavior is such that `numberOfLines={0}` will not render the `Text` component. Since we want behavior to be the same across platforms, this change will make sure Android behaves the same as iOS. **Test Plan** Create a `Text` component specifying `numberOfLines={0}` on an Android project. Expected: - `Text` component displays, with no limit to number of lines. Result: - `Text` component does not appear at all. Closes https://github.com/facebook/react-native/pull/9188 Differential Revision: D3697115 fbshipit-source-id: c1768ac22bab3c0e41a9df38b7314f3201512eb2
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.