@react-native/virtualized-lists 0.73.2 → 0.73.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Lists/VirtualizedList.js +2 -1
- package/package.json +1 -1
package/Lists/VirtualizedList.js
CHANGED
|
@@ -1748,8 +1748,9 @@ class VirtualizedList extends StateSafePureComponent<Props, State> {
|
|
|
1748
1748
|
// If this is triggered in an `componentDidUpdate` followed by a hiPri cellToRenderUpdate
|
|
1749
1749
|
// We shouldn't do another hipri cellToRenderUpdate
|
|
1750
1750
|
if (
|
|
1751
|
+
(this._listMetrics.getAverageCellLength() > 0 ||
|
|
1752
|
+
this.props.getItemLayout != null) &&
|
|
1751
1753
|
this._shouldRenderWithPriority() &&
|
|
1752
|
-
(this._listMetrics.getAverageCellLength() || this.props.getItemLayout) &&
|
|
1753
1754
|
!this._hiPriInProgress
|
|
1754
1755
|
) {
|
|
1755
1756
|
this._hiPriInProgress = true;
|