Skip to content

A scroll's pinned header hides the content scrolling under it - #18

Merged
explodi merged 1 commit into
mainfrom
scroll-header-clips-content
Nov 29, 2026
Merged

explodi merged 1 commit into
mainfrom
scroll-header-clips-content

Conversation

@explodi

@explodi explodi commented Nov 29, 2026

Copy link
Copy Markdown
Owner

A `Scroll` with a `header` (a `Sheet` with `stickyHeader`) held the header at the top but gave the content the same clip as the header, and painted the header first. Content scrolling up was drawn over the header, and it could be hovered and pressed through it.

The content after the header now lays out in a clip that starts at the header's bottom edge. Painting and hit testing both read that clip, so one change fixes both.

Tests: two new view cases, a scrolled record is clipped below the header and the pointer over the header misses the record under it. Both fail without the change. The full `bureau_tests` suite passes (325 cases).

@explodi
explodi merged commit 71041cf into main Nov 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant