mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-29 22:41:56 +08:00
Summary: With our previous fix to resize the Modal on orientation change, we broke the computation of its size. The existing computation in `ModalHostShadowNode` was in fact correct, and we were overriding it from `onSizeChanged`. By computing the size of the Modal in `onSizeChanged` directly (and correctly), we fix this, and simplify code by removing the `ModalHostShadowNode`. Reviewed By: foghina Differential Revision: D3863054 fbshipit-source-id: aaf4a8881798df4d2ab1dab882a9d9dfdc0a9342
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.