From f4bbf1bc62ebb56088154dd51f8f8d823cda9346 Mon Sep 17 00:00:00 2001 From: Jon Cursi Date: Fri, 3 Feb 2017 12:23:18 -0800 Subject: [PATCH] Update ScrollView docs - Fixes #12139 Summary: Added a note to the `refreshControl` prop on ScrollView to call out that the prop only works for vertical ScrollViews. Fixes #12139 Closes https://github.com/facebook/react-native/pull/12150 Differential Revision: D4508796 Pulled By: mkonicek fbshipit-source-id: 8e71692f29ee175e32177c3a26a4ed2e8d14f139 --- Libraries/Components/ScrollView/ScrollView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index 080fc801856c25..68ac9b987a175a 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -326,7 +326,8 @@ const ScrollView = React.createClass({ /** * A RefreshControl component, used to provide pull-to-refresh - * functionality for the ScrollView. + * functionality for the ScrollView. Only works for vertical ScrollViews + * (`horizontal` prop must be `false`). * * See [RefreshControl](docs/refreshcontrol.html). */