Fix potential "Should never unset includeInLayout" invariant
Reviewed By: devknoll Differential Revision: D3194174 fb-gh-sync-id: 67d065ea90f8416a5fc7e3651c68350f895f9639 fbshipit-source-id: 67d065ea90f8416a5fc7e3651c68350f895f9639
This commit is contained in:
parent
ec5dfbf8c7
commit
ecae44aaae
|
@ -443,8 +443,7 @@ class WindowedListView extends React.Component {
|
|||
rowIndex={idx}
|
||||
onNewLayout={this._onNewLayout}
|
||||
onWillUnmount={this._onWillUnmountCell}
|
||||
includeInLayout={this.props.disableIncrementalRendering ||
|
||||
(this._rowFrames[idx] && this._rowFrames[idx].offscreenLayoutDone)}
|
||||
includeInLayout={this._rowFrames[idx] && this._rowFrames[idx].offscreenLayoutDone}
|
||||
onProgressChange={this._onProgressChange}
|
||||
asyncRowPerfEventName={this.props.asyncRowPerfEventName}
|
||||
data={this.props.data[idx]}
|
||||
|
|
Loading…
Reference in New Issue