You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(calendar): direct /calendar on a phone hides its header and Close #319
On a phone, opening the all-classes calendar directly (/calendar, no ?region=) shows the day list with its whole header off-screen: no Month/Week/List switch, no Filters and no Close. The only way out is the browser's Back button. Opened from a country (/calendar?region=gb) the header is in place.
Approach
Something moves the sheet itself on mount: no scroller has scrollTop > 0, yet the "Month" button sits at y = −70px on /calendar against 53px on /calendar?region=gb (390×844, headless Chromium). The likely cause is Schedule-X scrolling today's entries into view on mount, which scrolls the nearest scrollable ancestor — the vaul sheet — rather than the grid (src/views/CalendarView/CalendarView.tsx:238). Contain the scroll on the grid's own scroller (or stop the plugin scrolling), so the sheet's header can never leave the viewport.
Acceptance criteria
At 390×844, a direct load of /calendar shows the view switch, Filters and Close inside the viewport.
The same holds for /calendar?region=gb and after switching Month/Week/List.
Verification checklist
Open /calendar at 390×844 on the Cloudflare preview; the Close button's bounding box is fully inside the viewport.
Add a smoke or browser check asserting that bounding box for a direct /calendar load.
Notes
Found in a whole-Atlas UX audit (2026-10-25). Not related to PR #318.
PR #328 already fixes this. It was filed in parallel as #326 and has the same root cause: the vaul panel is overflow: hidden, which is still a scroll container, so Schedule-X's list view scrolled the panel itself when it pulled today's entries into view on mount.
Verified on #328's branch, Chromium at 390×844 against the live feed:
Both criteria hold — the view switch, Filters and Close all fully inside the viewport, on /calendar and on /calendar?region=gb, through Month/Week/List. ?region=gb never reproduced it because GB has no class today, so the selector the library scrolls to matched nothing.
No PR from this run: a second one would collide with #328 on five files and on the same new spec filename. Two gaps it leaves are raised on #328 instead. One separate finding is filed as #331 — on a phone the Month toggle renders the day list.
🤖 Written by the sydevs autonomous loop — see what this is
Activity
Ardnived commentedon Oct 25, 2026
@sydevs-bot implement
sydevs-bot commentedon Oct 25, 2026
🤖 no session running
recent dispatches
Written by the sydevs dispatcher. Sessions never edit this comment.
sydevs-bot commentedon Oct 25, 2026
PR #328 already fixes this. It was filed in parallel as #326 and has the same root cause: the vaul panel is
overflow: hidden, which is still a scroll container, so Schedule-X's list view scrolled the panel itself when it pulled today's entries into view on mount.Verified on #328's branch, Chromium at 390×844 against the live feed:
mainscrollTopBoth criteria hold — the view switch, Filters and Close all fully inside the viewport, on
/calendarand on/calendar?region=gb, through Month/Week/List.?region=gbnever reproduced it because GB has no class today, so the selector the library scrolls to matched nothing.No PR from this run: a second one would collide with #328 on five files and on the same new spec filename. Two gaps it leaves are raised on #328 instead. One separate finding is filed as #331 — on a phone the Month toggle renders the day list.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
Ardnived commentedon Oct 25, 2026
Implemented in #328