Skip to content

Commit 0d71f8f

Browse files
committed
fix(ios): correctly measure and layout cell when changed (using autoReloadItemOnLayout)
1 parent 03b9067 commit 0d71f8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/collectionview/index.ios.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,7 @@ export class CollectionView extends CollectionViewBase {
744744
nativeView.performBatchUpdatesCompletion(() => {
745745
this.measureCell(cell, view, index);
746746
this.notifyForItemAtIndex(CollectionViewBase.itemLoadingEvent, view, indexPath.row, view.bindingContext, cell);
747+
cell.contentView.subviews.objectAtIndex(0)?.layoutSubviews();
747748
nativeView.collectionViewLayout.invalidateLayout();
748749
}, null);
749750
}

0 commit comments

Comments
 (0)