Skip to content

Commit 3bdf1a7

Browse files
author
farfromrefug
committed
fix(collectionview): ios missing part for working itemOverlap
1 parent c3f68c6 commit 3bdf1a7

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
@@ -105,8 +105,8 @@ export class CollectionView extends CollectionViewBase {
105105
if (CollectionViewBase.layoutStyles[this.layoutStyle]) {
106106
layout = this._layout = CollectionViewBase.layoutStyles[this.layoutStyle].createLayout(this);
107107
} else {
108-
// layout = this._layout = UICollectionViewFlowLayoutImpl.initWithOwner(this);
109-
layout = this._layout = UICollectionViewFlowLayout.new();
108+
layout = this._layout = UICollectionViewFlowLayoutImpl.initWithOwner(this);
109+
// layout = this._layout = UICollectionViewFlowLayout.new();
110110
}
111111
if (layout instanceof UICollectionViewFlowLayout) {
112112
layout.minimumLineSpacing = 0;

0 commit comments

Comments
 (0)