mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
9e65ba2b7b
Summary: ScrollViews don't properly maintain position where they are hidden and shown. There is an edge case where on onLayout for a ScrollView, its content may not have been laid out yet. This happens in some cases when a scroll view is hidden via display: 'none' (resulting in setVisibility(INVISIBLE)). Check that the content view is laid out before attempting a scroll. Changelog: [Internal][Fixed] - In onLayout, only scroll if the content view is ready Reviewed By: sshic Differential Revision: D42794750 fbshipit-source-id: 654a380bcae306da2704d3e190423c8de125833d
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.