fix sizing defect
This commit is contained in:
parent
a094326ffb
commit
ba16c18b95
@ -20,6 +20,12 @@ import Foundation
|
||||
public var bottomViewOutsideOfScrollArea: Bool = false
|
||||
public var topViewOutsideOfScrollArea: Bool = false
|
||||
|
||||
open override func updateViewConstraints() {
|
||||
// Update the spacing on constraint update
|
||||
updateFlexibleSpace()
|
||||
super.updateViewConstraints()
|
||||
}
|
||||
|
||||
/// Updates the padding for flexible space (header or footer)
|
||||
private func updateFlexibleSpace() {
|
||||
guard let collectionView = collectionView else { return }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user