Permalink
Browse files

Clarity in pagingEnabled description for ScrollView

Summary:
Current description is misleading (without looking at implementation) to believe that both horizontal and vertical pagination are supported on both platforms. This comment clarifies that vertical pagination is not supported on Android.
Closes #14844

Differential Revision: D5393488

Pulled By: hramos

fbshipit-source-id: e79246a65e1011b2667e7eea67e85e17394026a8
  • Loading branch information...
seanyusa authored and facebook-github-bot committed Jul 11, 2017
1 parent 8f363b2 commit 88fb45ddf9a5ad2b21e9e7539db77376d5ef7e79
Showing with 2 additions and 0 deletions.
  1. +2 −0 Libraries/Components/ScrollView/ScrollView.js
@@ -259,6 +259,8 @@ const ScrollView = createReactClass({
* When true, the scroll view stops on multiples of the scroll view's size
* when scrolling. This can be used for horizontal pagination. The default
* value is false.
*
* Note: Vertical pagination is not supported on Android.
*/
pagingEnabled: PropTypes.bool,
/**

0 comments on commit 88fb45d

Please sign in to comment.