Skip to content

fix: one scrollbar, at the window edge - #8

Merged
FabioHAraujo merged 1 commit into
mainfrom
fix/single-scrollbar
Oct 27, 2026
Merged

FabioHAraujo merged 1 commit into
mainfrom
fix/single-scrollbar

Conversation

@FabioHAraujo

Copy link
Copy Markdown
Contributor

The translations page (and any long page) had two scrollbars: one beside the content and one for the whole document.

  • Inner bar: CodeAtlas PageShell is both the scroll container and the centred 1280 px column, so its scrollbar floats beside the content on wide screens.
  • Outer bar: visually hidden labels (RecordCell) and checkbox inputs inside RecordList are absolutely positioned with no positioned ancestor, so they escape the clip and stretch the document, scrolling the sidebar too.

The shell's full-width content area (.ca-shell__content) now scrolls and contains them; PageShell stays the centred column without its own scroll. Workaround marked ca-ui-workaround(#673), reported as codeatlasdev/ui#673.

Testing: locally with 150 keys at 1600×900 and 375×812: a single scroll container, the document never scrolls, the sidebar and phone bottom bar stay put, pagination is reachable above the bottom bar; projects, tasks, languages, transfer, users and account pages unchanged. svelte-check is clean.

PageShell was both the scroll container and the centred max-width
column, so its scrollbar sat beside the content; and the hidden labels
and checkbox inputs in RecordList, absolutely positioned with no
positioned ancestor, stretched the document into a second scrollbar
that moved the whole shell. The shell's full-width content area now
scrolls and contains them (workaround for codeatlasdev/ui#673).
@FabioHAraujo
FabioHAraujo merged commit b819bef into main Oct 27, 2026
6 checks passed
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