diff --git a/Libraries/CustomComponents/Lists/VirtualizedList.js b/Libraries/CustomComponents/Lists/VirtualizedList.js index 5adb1a6fa..1eed99333 100644 --- a/Libraries/CustomComponents/Lists/VirtualizedList.js +++ b/Libraries/CustomComponents/Lists/VirtualizedList.js @@ -539,6 +539,9 @@ class VirtualizedList extends React.PureComponent { } _onContentSizeChange = (width: number, height: number) => { + if (this.props.onContentSizeChange) { + this.props.onContentSizeChange(width, height); + } this._scrollMetrics.contentLength = this._selectLength({height, width}); this._updateCellsToRenderBatcher.schedule(); };