Skip to content

Commit 9174def

Browse files
committed
fix(ios): revert breaking change with reordering
1 parent 9083d71 commit 9174def

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/collectionview/index.ios.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -905,9 +905,9 @@ export class CollectionView extends CollectionViewBase {
905905
cell = CollectionViewCell.new() as CollectionViewCell;
906906
}
907907
// should we force clipsToBounds? not doing so allows more complex layouts like overlapping
908-
// cell.clipsToBounds = true;
908+
cell.clipsToBounds = true;
909909
// we set zPosition to allow overlap. Should we make it an option?
910-
cell.layer.zPosition = indexPath.row;
910+
// cell.layer.zPosition = indexPath.row;
911911
const firstRender = !cell.view;
912912
if (Trace.isEnabled()) {
913913
CLog(CLogTypes.log, 'collectionViewCellForItemAtIndexPath', indexPath.row, templateType, !!cell.view, cell);

0 commit comments

Comments
 (0)