diff --git a/Libraries/CustomComponents/ListView/ListView.js b/Libraries/CustomComponents/ListView/ListView.js index 067cce83b..d8edc9dd6 100644 --- a/Libraries/CustomComponents/ListView/ListView.js +++ b/Libraries/CustomComponents/ListView/ListView.js @@ -277,6 +277,7 @@ var ListView = React.createClass({ componentWillReceiveProps: function(nextProps) { if (this.props.dataSource !== nextProps.dataSource) { + this._sentEndForContentLength = null; this.setState((state, props) => { var rowsToRender = Math.min( state.curRenderedRowsCount + props.pageSize, @@ -592,6 +593,12 @@ var ListView = React.createClass({ this._renderMoreRowsIfNeeded(); } + if (this.props.onEndReached && + this._getDistanceFromEnd(this.scrollProperties) > this.props.onEndReachedThreshold) { + // Scrolled out of the end zone, so it should be able to trigger again. + this._sentEndForContentLength = null; + } + this.props.onScroll && this.props.onScroll(e); }, });