8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93e6eb9 commit 8393df1Copy full SHA for 8393df1
packages/core/ui/list-view/index.ios.ts
@@ -392,9 +392,12 @@ export class ListView extends ListViewBase {
392
}
393
394
public measure(widthMeasureSpec: number, heightMeasureSpec: number): void {
395
+ const changed: boolean = this._currentWidthMeasureSpec !== widthMeasureSpec || this._currentHeightMeasureSpec !== heightMeasureSpec;
396
+
397
this.widthMeasureSpec = widthMeasureSpec;
- const changed = this._setCurrentMeasureSpecs(widthMeasureSpec, heightMeasureSpec);
398
super.measure(widthMeasureSpec, heightMeasureSpec);
399
400
+ // Reload native view cells only in the case of size change
401
if (changed) {
402
this.nativeViewProtected.reloadData();
403
0 commit comments