mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-30 17:33:21 +08:00
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:
committed by
Facebook Github Bot 1
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]}
|
||||
|
||||
Reference in New Issue
Block a user