You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot update the height of the ScrollStackRow's contentView because it does not receive scrollStackRowSizeForAxis() event when its layout di change
#14
Closed
malcommac opened this issue
Oct 1, 2020
· 0 comments
Once placed the contentView (custom view or controller's view does not matter) for a ScrollStackRow cannot receive further scrollStackRowSizeForAxis() of the ScrollStackContainableController protocol and cannot correctly resize its content.
This is especially true when you need to make a row's height equal to the content of the inner UITableView instance evaluated using autolayout. If the contentView is placed the height is calculated with a wrong size which is the not the real size of the table placed but the table loaded initially from nib.
This fix allows to call this method when layoutSubviews of the row is called.
Once placed the
contentView
(custom view or controller's view does not matter) for aScrollStackRow
cannot receive furtherscrollStackRowSizeForAxis()
of theScrollStackContainableController
protocol and cannot correctly resize its content.This is especially true when you need to make a row's height equal to the content of the inner
UITableView
instance evaluated using autolayout. If the contentView is placed the height is calculated with a wrong size which is the not the real size of the table placed but the table loaded initially from nib.This fix allows to call this method when
layoutSubviews
of the row is called.The text was updated successfully, but these errors were encountered: