Skip to content

fix: keep sticky header offset out of content layout - #2439

Open
LizunovSergey wants to merge 1 commit into
Shopify:mainfrom
LizunovSergey:agent/fix-sticky-header-offset-layout
Open

fix: keep sticky header offset out of content layout#2439
LizunovSergey wants to merge 1 commit into
Shopify:mainfrom
LizunovSergey:agent/fix-sticky-header-offset-layout

Conversation

@LizunovSergey

Copy link
Copy Markdown

Description

Fixes #2419

stickyHeaderConfig.offset now only controls where sticky headers pin. The internal zero-sized measurement view no longer applies the offset as marginTop, so list content and ListHeaderComponent keep their original layout.

Added a RecyclerView regression test that verifies the measurement view does not receive content margin from the sticky offset.

Reviewers’ hat-rack 🎩

  • Verify sticky headers still pin at the configured offset while rows remain unshifted.

Screenshots or videos (if needed)

Not included; the change is covered by the focused layout regression test.

@LizunovSergey
LizunovSergey force-pushed the agent/fix-sticky-header-offset-layout branch from 469eb50 to c19e93b Compare August 12, 2026 17:58
@LizunovSergey
LizunovSergey marked this pull request as ready for review August 15, 2026 08:13
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