Files
romm/frontend
zurdiandClaude Opus 4.7 54f353c596 feat(frontend-v2): toolbar steps out of scroll when sticky
Reworks the sticky-on-scroll behaviour so the gallery toolbar reads as
a single element that scrolls naturally with the hero and steps OUT of
the scroll once it reaches the top — matching AppNav, where content
never reaches the bar's area.

- The toolbar item inside the virtualizer renders an empty placeholder
  (its 64px of vertical space is reserved in the offset table).
- The actual GalleryToolbar lives once, as an absolute-positioned
  overlay on the section. Its `top` is computed from `scrollTop`:
  scrollTop < toolbarOffset → top = toolbarOffset - scrollTop (tracks
  the natural scroll); scrollTop ≥ toolbarOffset → top = 0 (pinned).
- While pinned, a `clip-path: inset(toolbar-h 0 0 0)` on the virtualizer
  hides anything painted in the top band so card rows don't bleed
  through behind the toolbar. The toolbar's backdrop-filter then only
  sees the page's BackgroundArt — same visual language as AppNav,
  semi-transparent over the page background, no card content showing
  through.
- A `--stuck` modifier adds the bottom border + blur only when pinned,
  so the in-flow state (transparent, sitting between hero and rows)
  reads cleanly without chrome.

Replaces the previous dual-toolbar slide-in approach (one inline, one
fixed sliding from above) which the user found jumpy. There is now
exactly one toolbar element from the user's POV.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 15:04:36 +00:00
..
2026-04-05 17:57:48 -04:00
2026-03-31 08:19:06 -04:00
2026-02-16 22:11:47 -05:00
2025-09-09 20:19:30 -04:00
2024-05-21 10:18:13 -04:00