Skip to content

Commit 307cff7

Browse files
author
Daniele Margutti
committed
#11 Fixes the order of operations to reload content of a rows with new height
1 parent 8939768 commit 307cff7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/ScrollStackController/ScrollStack.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,8 @@ open class ScrollStack: UIScrollView, UIScrollViewDelegate {
754754
}
755755

756756
rows.forEach {
757-
$0.askForCutomizedSizeOfContentView(animated: animated)
758757
($0.controller as? ScrollStackContainableController)?.reloadContentFromStackView(stackView: self, row: $0, animated: animated)
758+
$0.askForCutomizedSizeOfContentView(animated: animated)
759759
}
760760

761761
UIView.execute(animated: animated, {

0 commit comments

Comments
 (0)