Skip to content

Commit 71d64de

Browse files
committed
Fix horizontal scroll
1 parent 9e513b3 commit 71d64de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StackScrollView/StackScrollView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ open class StackScrollView: UICollectionView, UICollectionViewDataSource, UIColl
374374
return c
375375
}()
376376

377-
heightConstraint.constant = collectionView.bounds.width
377+
heightConstraint.constant = collectionView.bounds.height
378378

379379
let size = view.superview?.systemLayoutSizeFitting(UIView.layoutFittingCompressedSize) ?? view.systemLayoutSizeFitting(UIView.layoutFittingCompressedSize)
380380

0 commit comments

Comments
 (0)