Skip to content

fix: stickyHeaderConfig.offset no longer shifts list content - #2459

Open
ErfanBagheri404 wants to merge 1 commit into
Shopify:mainfrom
ErfanBagheri404:fix/sticky-offset-shifts-content
Open

fix: stickyHeaderConfig.offset no longer shifts list content#2459
ErfanBagheri404 wants to merge 1 commit into
Shopify:mainfrom
ErfanBagheri404:fix/sticky-offset-shifts-content

Conversation

@ErfanBagheri404

Copy link
Copy Markdown

Fixes #2419

viewToMeasureBoundedSize applied marginTop: stickyHeaderOffset which shifted all list content down by the offset amount. Remove the content margin so offset only controls the sticky pin position as documented.

viewToMeasureBoundedSize applied marginTop: stickyHeaderOffset which
shifts all list content down by the offset amount, not just the
sticky pin position (see Shopify#2419).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stickyHeaderConfig.offset also pushes list content down, not just the sticky pin position

1 participant