-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
scrollToItem
appearing underneath sticky header
When a `top` scroll position is used, the item will appear underneath the sticky section header. Now, we adjust the frame and use a manual content offset when sticky headers are enabled. When sticky headers are disabled or scrolling to a different position, we call the existing `scrollToItem` function on UICollectionView.
- Loading branch information
Showing
1 changed file
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters