diff --git a/MagazineLayout/Public/MagazineLayout.swift b/MagazineLayout/Public/MagazineLayout.swift index 79bc603..5e9354f 100755 --- a/MagazineLayout/Public/MagazineLayout.swift +++ b/MagazineLayout/Public/MagazineLayout.swift @@ -624,7 +624,7 @@ public final class MagazineLayout: UICollectionViewLayout { if case .bottomToTop = verticalLayoutDirection { invalidationContext.contentOffsetAdjustment = CGPoint( x: 0.0, - y: currentCollectionView.bounds.height - newBounds.height) + y: currentCollectionView.bounds.height - newBounds.height + contentInset.bottom) } return invalidationContext