- Shipped
- August 27, 2026 at 7:42 AM UTC
- Author
- Kamo
- Commit
- 4202eea
Two things about the workspace picker, both about the same list. The workspace a member used last is preselected and named on the button, because this screen is a confirmation rather than a survey. But nothing scrolled to it. A member of twenty organizations whose usual one sits fourteenth opened a list showing a highlighted row they could not see, under a heading, above a button naming a workspace that appeared nowhere on screen. Whether the preselection was visible came down to where that org happened to fall in the list. It is brought into view once, on open, and only when it is genuinely out of sight — a row already on screen stays where it is, because scrolling a list that needed no scrolling reads as the page moving under you. Centred rather than flush to an edge, so the rows above and below still say "this is a position in a list". `scrollTop` rather than `scrollIntoView`: that scrolls every scrollable ancestor, and on a sign-in screen it can take the page with it. The list is now `position: relative` so a row's `offsetTop` is measured against the list itself — exact, and unlike a bounding rect it is not shifted by the rows' entrance transform. The scrollbar is the second thing. Every accent on this screen is mixed from `--color-primary`, which the theme stylesheet has already set to whichever organization the screen is branded as: the selection rail, the row tint, the "Last used" pill, the button. The scrollbar was the one piece of chrome still rendering in the browser's default grey, which on a strongly-branded tenant is the only grey on the panel. It is tones of the same token now — a translucent thumb that deepens on hover, a faint track, both rounded. Written as a <style> element rather than the inline styles the rest of this component uses, because a scrollbar is only reachable through pseudo-elements. Both vocabularies are there and neither is a fallback for the other: WebKit and Chromium read the pseudo-elements and ignore `scrollbar-color`, Firefox reads `scrollbar-color` and has no pseudo-elements.