@@ -29,6 +29,8 @@ export default class SortableList extends Component {
29
29
autoscrollAreaSize : PropTypes . number ,
30
30
rowActivationTime : PropTypes . number ,
31
31
manuallyActivateRows : PropTypes . bool ,
32
+ nestedScrollEnabled : PropTypes . bool ,
33
+ disableIntervalMomentum : PropTypes . bool ,
32
34
33
35
renderRow : PropTypes . func . isRequired ,
34
36
renderHeader : PropTypes . func ,
@@ -192,7 +194,7 @@ export default class SortableList extends Component {
192
194
}
193
195
194
196
render ( ) {
195
- let { contentContainerStyle, innerContainerStyle, horizontal, style, showsVerticalScrollIndicator, showsHorizontalScrollIndicator} = this . props ;
197
+ let { contentContainerStyle, innerContainerStyle, horizontal, style, showsVerticalScrollIndicator, showsHorizontalScrollIndicator, nestedScrollEnabled , disableIntervalMomentum } = this . props ;
196
198
const { animated, contentHeight, contentWidth, scrollEnabled} = this . state ;
197
199
const containerStyle = StyleSheet . flatten ( [ style , { opacity : Number ( animated ) } ] )
198
200
innerContainerStyle = [
@@ -211,6 +213,8 @@ export default class SortableList extends Component {
211
213
return (
212
214
< View style = { containerStyle } ref = { this . _onRefContainer } >
213
215
< ScrollView
216
+ nestedScrollEnabled = { nestedScrollEnabled }
217
+ disableIntervalMomentum = { disableIntervalMomentum }
214
218
refreshControl = { refreshControl }
215
219
ref = { this . _onRefScrollView }
216
220
horizontal = { horizontal }
0 commit comments