Skip to content

Commit

Permalink
Update ScrollView docs - Fixes #12139
Browse files Browse the repository at this point in the history
Summary:
Added a note to the `refreshControl` prop on ScrollView to call out that the prop only works for vertical ScrollViews.

Fixes #12139
Closes #12150

Differential Revision: D4508796

Pulled By: mkonicek

fbshipit-source-id: 8e71692f29ee175e32177c3a26a4ed2e8d14f139
  • Loading branch information
joncursi authored and facebook-github-bot committed Feb 3, 2017
1 parent e93d496 commit f4bbf1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Libraries/Components/ScrollView/ScrollView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*/
Expand Down

0 comments on commit f4bbf1b

Please sign in to comment.