We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baa9fe6 commit 2b44413Copy full SHA for 2b44413
src/Controls/src/Core/Handlers/Items/iOS/StructuredItemsViewController.cs
@@ -213,7 +213,10 @@ void UpdateHeaderFooterPosition()
213
if (CollectionView.ContentSize.Height + headerHeight <= CollectionView.Bounds.Height)
214
yOffset = -headerHeight;
215
216
- CollectionView.ContentOffset = new CoreGraphics.CGPoint(CollectionView.ContentOffset.X, yOffset);
+ if (currentOffset.Y.Value < headerHeight)
217
+ {
218
+ CollectionView.ContentOffset = new CoreGraphics.CGPoint(CollectionView.ContentOffset.X, yOffset);
219
+ }
220
}
221
222
if (_headerUIView != null && _headerUIView.Frame.Y != headerHeight)
0 commit comments