Closed notjosh closed 5 years ago
Repro up on branch: https://github.com/notjosh/IBPCollectionViewCompositionalLayout/tree/sample-orthogonal-trailing-contentinset (ref: OrthogonalScrollingWithInsetsViewController
)
In the screenshots, the top section is scrolled all the way to the right.
There are three issues I see here, two are related to contentInset
:
contentInset
does not include trailing
space at the end of the rowcontentInset
makes each of the cells less wide (this seems related to .fractionalWidth
, it's the correct size with .absolute()
) - we can track this as a separate issue, if it's not related)bottom
of contentInset
on item
s (this seems related, but we can track it as a separate issue)OS | Without section contentInset |
With section contentInset |
---|---|---|
iOS 12.4 | ||
iOS 13 |
Fixed by https://github.com/kishikawakatsumi/IBPCollectionViewCompositionalLayout/pull/85
Thank you for reporting!
There is a regression from 3-4 days ago.
As far as I can tell,
top
andleading
are handled here but there's no correspondingtrailing
/bottom
on the other side.I tried quickly to track it down, but nothing was obvious to me.