updated constraint to defaultHigh
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
59b72835c0
commit
1fa8f485f8
@ -73,7 +73,7 @@ public final class SelfSizingCollectionView: UICollectionView {
|
||||
//ensure autoLayout uses intrinsic height
|
||||
setContentHuggingPriority(.required, for: .vertical)
|
||||
setContentCompressionResistancePriority(.required, for: .vertical)
|
||||
collectionViewHeight = heightAnchor.constraint(equalToConstant: 0).activate()
|
||||
collectionViewHeight = height(constant: 0, priority: .defaultHigh)
|
||||
|
||||
anyCancellable = self.publisher(for: \.contentSize, options: [.new])
|
||||
.sink { [weak self] compare in
|
||||
|
||||
Loading…
Reference in New Issue
Block a user