$ the-wire · showcase
Scroll area moves off radix to fix Safari mouse-wheel scroll
By RepoJournal · Filed · About Supabase · Composed from the cited sources · methodology
A scroll bar in the KB table of contents was killing mouse-wheel page scrolling on Safari 27, and swapping radix for base ui in the `ui` scroll area parts fixes it and aligns the KB sidebar with docs.
feat(ui): scroll area supabase/supabase
The radix scroll bar in the table of contents attached a non-passive `wheel` listener to `document`; combined with the `overscroll-behavior-y: none` that KB sets on `html`, WebKit stopped mouse-wheel page scroll on /kb/guides/migrate-from-auth0 in Safari 27 on macOS while trackpads kept working. The `ui` scroll area now uses base ui, which binds its wheel listener to the scrollbar element inste...
feat(kb): use the ui scroll area in the guide sidebar supabase/supabase
The KB article sidebar used a native `overflow-y-auto` box, so it rendered the wide OS scroll bar next to the thin `ui` bar the docs sidebar already shows. It now uses the `ui` scroll area and fills the viewport height under the header, matching the docs sidebar behavior.
feat(ui): scroll area (#54023) supabase/supabase
The commit landing the radix-to-base-ui swap, for anyone tracking when the change reached the tree. The problem and solution are the same as the PR above.
feat(kb): use the ui scroll area in the guide sidebar (#54026) supabase/supabase
The commit landing the KB sidebar scroll area change, closing out the pair of scroll fixes. Any KB page relying on the old native sidebar box will now scroll and size differently.