[fix] avoid passing ListView props to ScrollView

The 'onChangeVisibleRows' and 'onEndReachedThreshold' props should not
be passed to 'ScrollView', as it results in React warnings about unknown
props on the underlying DOM node.

Close #383
This commit is contained in:
Aaron Craig
2017-03-03 14:40:42 -08:00
committed by Nicolas Gallagher
parent b408bc5537
commit 9451c0f85e

View File

@@ -125,6 +125,8 @@ class ListView extends Component {
renderSeparator,
/* eslint-disable */
initialListSize,
onChangeVisibleRows,
onEndReached,
onEndReachedThreshold,
onKeyboardDidHide,
onKeyboardDidShow,