Files
romm/frontend
Sam Dornan ddd519b9e4 refactor(frontend): share a viewport-scroll shell between gallery and index views
Platforms and Collections scrolled the document, so on iOS Safari their
content scrolled up behind the browser's status bar. Search and the other
galleries didn't, because GalleryShell fills one viewport, locks the body's
overflow and scrolls an inner container.

Extract that frame into ViewportShell (viewport sizing under the top and
bottom bars, body overflow lock, scrollbar width for the top bar) and use
it in both GalleryShell and IndexShell. IndexShell now scrolls an inner
container and hands its scroll position to usePinnedToolbar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NH5s4eTi6dcmTfSWZcXLtE
2026-11-11 18:17:25 +00:00
..
2026-05-30 20:53:52 -04:00