mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 02:22:44 +01:00
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