kishikawakatsumi / IBPCollectionViewCompositionalLayout

Backport of UICollectionViewCompositionalLayout to earlier iOS 12
MIT License
1.55k stars 148 forks source link

Actual size is smaller than estimated size, it is not calculated correctly #114

Open kishikawakatsumi opened 5 years ago

kishikawakatsumi commented 5 years ago

Actual size is smaller than estimated size, it is not calculated correctly.

iOS 13 iOS 12
Simulator Screen Shot - iPhone Xs - 2019-09-17 at 02 21 47 Simulator Screen Shot - iPhone Xs - 2019-09-17 at 02 21 58
codyrobb commented 5 years ago

Is this screenshot showing an orthogonal scrolling section up top with too much trailing padding? I am having a similar issue, but I am using absolute sizes rather than estimated sizes.

I am going to dig into it a bit. I'd love to be able to use this in my project.

kishikawakatsumi commented 5 years ago

Is this screenshot showing an orthogonal scrolling section up top with too much trailing padding?

Yes, this orthogonal section layout has an estimated size, but the actual size is smaller than estimated. But total width doesn't shrink correctly yet.

Can you share your code to reproduce your problem? I'm not sure this and yours are the same or not. @codyrobb