diff --git a/Libraries/Lists/VirtualizedList.js b/Libraries/Lists/VirtualizedList.js index 4a4fa6a2528626..e8820eee33b3c7 100644 --- a/Libraries/Lists/VirtualizedList.js +++ b/Libraries/Lists/VirtualizedList.js @@ -934,7 +934,7 @@ class VirtualizedList extends React.PureComponent { : this.props.inverted, stickyHeaderIndices, }; - if (inversionStyle) { + if (inversionStyle && itemCount !== 0) { /* $FlowFixMe(>=0.70.0 site=react_native_fb) This comment suppresses an * error found when Flow v0.70 was deployed. To see the error delete * this comment and run Flow. */