Skip to content

fix(web): fade the thread under the header when scrolled - #773

Merged
nixuuu merged 1 commit into
devfrom
fix/thread-top-fade
Nov 15, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/thread-top-fade

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 15, 2026

Copy link
Copy Markdown
Member

Rows scrolled under the header were cut off at a hard line right below the active tab, so the tab looked detached from the thread. A 1.5 rem gradient from the thread surface colour to transparent now sits at the top of the feed (same colour as the active tab and the composer fade). Rows blend into the tab as they scroll under it, and the edge hints that there's more above. It's hidden at the very top (scrollTop 0), where nothing is above, and fades in and out with the motion tokens (off under reduced motion). It covers the feed only, not the scrollbar gutter, and doesn't catch pointer events.

Related: #750, #764

Checked on /dev/long-thread in Chromium, dark and light, scrolled up.

Checks: format:check, lint, web typecheck.

@nixuuu
nixuuu merged commit beac726 into dev Nov 15, 2026
11 checks passed
@nixuuu
nixuuu deleted the fix/thread-top-fade branch November 15, 2026 00:53
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