mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
115dbe9433
Summary: ScrollViews don't properly maintain position where they are hidden and shown. When a ScrollView's content is laid out, onLayoutChange is triggered. This is also fired when the views are hidden, which is not desirable as the layout may not be accurate when the view is hidden. Check that the scroll view is showing before attempting a scroll. Changelog: [Internal][Fixed] - In onLayoutChange, only scroll if the view is shown and the content view is ready Reviewed By: sshic Differential Revision: D42808119 fbshipit-source-id: 0197ae55fa7d80e52c2ea483609e62d512a117f3
Building React Native for Android
See the Building from Source guide on the React Native website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing guide on the React Native website.