mirror of
https://github.com/status-im/react-native.git
synced 2025-01-11 01:56:26 +00:00
aa85408f56
Summary: TextInput rounds padding down with `floor` when measuring. However, it rounds padding up with `ceil` when rendering. This change makes things consistent by moving TextInput's rendering code to use `floor` as well. It looks like this is the intended behavior because commit bdff10b moved measuring from `ceil` to `floor`. It looks like TextInput's rendering code was just overlooked in that commit. **Test plan (required)** Verified TextInput padding works in a test app. Also, my team uses this change in our app. Adam Comella Microsoft Corp. Closes https://github.com/facebook/react-native/pull/11003 Differential Revision: D4220855 Pulled By: mkonicek fbshipit-source-id: 95349867ef89c021a8441b383a09052ca0dd569c
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.