File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ var GiftedListView = React.createClass({
47
47
renderRefreshControl : null ,
48
48
headerView : null ,
49
49
sectionHeaderView : null ,
50
+ scrollEnabled : true ,
50
51
withSections : false ,
51
52
onFetch ( page , callback , options ) { callback ( [ ] ) ; } ,
52
53
@@ -72,6 +73,7 @@ var GiftedListView = React.createClass({
72
73
renderRefreshControl : React . PropTypes . func ,
73
74
headerView : React . PropTypes . func ,
74
75
sectionHeaderView : React . PropTypes . func ,
76
+ scrollEnabled : React . PropTypes . bool ,
75
77
withSections : React . PropTypes . bool ,
76
78
onFetch : React . PropTypes . func ,
77
79
@@ -307,7 +309,7 @@ var GiftedListView = React.createClass({
307
309
renderSeparator = { this . renderSeparator }
308
310
309
311
automaticallyAdjustContentInsets = { false }
310
- scrollEnabled = { true }
312
+ scrollEnabled = { this . props . scrollEnabled }
311
313
canCancelContentTouches = { true }
312
314
refreshControl = { this . props . refreshable === true ? this . renderRefreshControl ( ) : null }
313
315
You can’t perform that action at this time.
0 commit comments