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 https://github.com/facebook/react-native/pull/14844 Differential Revision: D5393488 Pulled By: hramos fbshipit-source-id: e79246a65e1011b2667e7eea67e85e17394026a8
This commit is contained in:
parent
8f363b2c49
commit
88fb45ddf9
|
@ -259,6 +259,8 @@ const ScrollView = createReactClass({
|
||||||
* When true, the scroll view stops on multiples of the scroll view's size
|
* 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
|
* when scrolling. This can be used for horizontal pagination. The default
|
||||||
* value is false.
|
* value is false.
|
||||||
|
*
|
||||||
|
* Note: Vertical pagination is not supported on Android.
|
||||||
*/
|
*/
|
||||||
pagingEnabled: PropTypes.bool,
|
pagingEnabled: PropTypes.bool,
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue