File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,9 @@ class CalendarList extends Component {
5959 /** How far from the end to trigger the onEndReached callback */
6060 onEndReachedThreshold : PropTypes . number ,
6161 /** Called once when the scroll position gets within onEndReachedThreshold */
62- onEndReached : PropTypes . func
62+ onEndReached : PropTypes . func ,
63+ /** To put directly in flatList */
64+ nestedScrollEnabled : PropTypes . bool
6365 } ;
6466
6567 static defaultProps = {
@@ -72,7 +74,8 @@ class CalendarList extends Component {
7274 scrollsToTop : false ,
7375 scrollEnabled : true ,
7476 removeClippedSubviews : Platform . OS === 'android' ,
75- keyExtractor : ( item , index ) => String ( index )
77+ keyExtractor : ( item , index ) => String ( index ) ,
78+ nestedScrollEnabled : false
7679 } ;
7780
7881 constructor ( props ) {
@@ -307,6 +310,7 @@ class CalendarList extends Component {
307310 keyExtractor = { this . props . keyExtractor }
308311 onEndReachedThreshold = { this . props . onEndReachedThreshold }
309312 onEndReached = { this . props . onEndReached }
313+ nestedScrollEnabled = { this . props . nestedScrollEnabled }
310314 />
311315 { this . renderStaticHeader ( ) }
312316 </ View >
You can’t perform that action at this time.
0 commit comments