diff --git a/Libraries/CustomComponents/ListView/ListView.js b/Libraries/CustomComponents/ListView/ListView.js index 31512c3f77346f..81e5aadd2bb901 100644 --- a/Libraries/CustomComponents/ListView/ListView.js +++ b/Libraries/CustomComponents/ListView/ListView.js @@ -268,6 +268,14 @@ var ListView = React.createClass({ } }, + getScrollableNode: function() { + if (this._scrollComponent && this._scrollComponent.getScrollableNode) { + return this._scrollComponent.getScrollableNode(); + } else { + return ReactNative.findNodeHandle(this._scrollComponent); + } + }, + /** * Scrolls to a given x, y offset, either immediately or with a smooth animation. *