Skip to content

Commit 9df1290

Browse files
committed
fix(ios): regression fix for items size
still need to understand why it was breaking …
1 parent 93fbd46 commit 9df1290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collectionview/index.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ export class CollectionView extends CollectionViewBase {
369369
return;
370370
}
371371
if ((layoutView instanceof UICollectionViewFlowLayout && this._effectiveColWidth) || this._effectiveRowHeight) {
372-
(layoutView as UICollectionViewFlowLayout).itemSize = CGSizeMake(
372+
(layoutView as UICollectionViewFlowLayout).estimatedItemSize = (layoutView as UICollectionViewFlowLayout).itemSize = CGSizeMake(
373373
Utils.layout.toDeviceIndependentPixels(this._effectiveColWidth),
374374
Utils.layout.toDeviceIndependentPixels(this._effectiveRowHeight)
375375
);

0 commit comments

Comments
 (0)