mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-21 16:28:26 +00:00
Summary: ## Context We want the post-tap headers to be sticky so that context is maintained as the user scrolls down the media chain. ## In this diff When clicking on a media tile in a media module (rather than the See All CTA), the sticky header was covering part of the media post's header. We want to shift the scroll-to view down so that the sticky header is sitting on top of the media post's header. - Create new version of IGListAdapter API's `scrollToObject` function that contains an additional parameter `additionalYOffset` - Call new `scrollToObject` function with offset of 48.0f (height of header) ## In this stack Add sticky headers for post-taps, excluding SERP Reviewed By: maxolls Differential Revision: D29961626 fbshipit-source-id: c8644cc868e8d7ec92cad5f6c7742d93d001f67d |
||
|---|---|---|
| .. | ||
| IGListDiffKit | ||
| IGListKit | ||
| IGListSwiftKit | ||
| Info.plist | ||