Post

Replies

Boosts

Views

Activity

Reply to UICollectionViewCompositionalLayout incorrect item size
I've got the same behavior. Only if you begin to scroll the layout of the cell is corrected. Also if I update a multiline label's text within an already displayed self-sizing cell the layout is not updated automatically. calling self.collectionView.collectionViewLayout.invalidateLayout() after changing the text is the only solution I found yet. But that feels like an overkill. I would have expected that AutoLayout takes care of it.
Mar ’21