I'm currently facing an issue with compositional layout which can also be seen in Apple's example -> ConferenceNewsFeedViewController. The item height is set to .estimated(100) and the width is set to .fractionalWidth(1.0).
On the initial display the cell is not wrapping the label content. Only if you begin to scroll the layout of the cells are corrected. Does anybody know how to fix this issue?
I know that it can be "fixed" with the following, but this feels more like a dirty work around:
DispatchQueue.main.async {						self.collectionView.collectionViewLayout.invalidateLayout()
}
Any help to this is appreciated.
Best,
Carsten