Self-sizing cells with UICollectionViewCompositionalLayout
问题 I have a view controller that displays a collection view with self-sizing cells. The collection view has one section that scrolls horizontally. It looks like this: Problem The collection view behaves unexpectedly when the view controller is presented using the default pageSheet style on iOS 13+. When pulling upward on the sheet, cells may appear to resize like the cell labeled "Rectify" below: When pulling upward on the sheet, the content may shift horizontally. Sometimes, cells may disappear