Skip to content

Commit a89a4cd

Browse files
committed
fix(ios): trying to fix a layout issue with multiple templates / size
1 parent 62f4344 commit a89a4cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/collectionview/collectionview.ios.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -654,10 +654,10 @@ export class CollectionView extends CollectionViewBase {
654654
innerView.view = new WeakRef(view);
655655
// for a cell to update correctly on cell layout change we need
656656
// to do it ourself instead of "propagating it"
657-
view['performLayout'] = () => {
658-
this.measureCell(cell, view, indexPath);
659-
this.layoutCell(indexPath.row, cell, view);
660-
};
657+
// view['performLayout'] = () => {
658+
// this.measureCell(cell, view, indexPath);
659+
// this.layoutCell(indexPath.row, cell, view);
660+
// };
661661
innerView.addSubview(view.nativeViewProtected);
662662
cell.contentView.addSubview(innerView);
663663
}

0 commit comments

Comments
 (0)