UICollectionViewCompositionalLayout fails to size cells correctly if estimated dimension is bigger than actual size

Originator:arnaud
Number:rdar://FB9809475 Date Originated:12/14/2021
Status:Open Resolved:
Product:UIKit Product Version:
Classification: Reproducible:
 
When using a `UICollectionView` with a `UICollectionViewCompositionalLayout` initialized with group or item with an estimated dimension greater (e.g. 1000) than the actual cell size (e.g. 100), then the layout fails to use the correct size: it uses the estimated size instead of the actual size, resulting in a broken layout.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!