[Bug]: Scrollbars are nearly invisible in dark mode (about 1.1:1 contrast, hidden until hover)#29986

opened14d agobyUUmbrella1234

Area

apps/web (shared ScrollArea)

What happened

In dark mode I couldn't find the chat scrollbar at all and thought it wasn't being drawn. It is drawn, but it's almost impossible to see:

  • It's 6px wide (--app-scrollbar-width) and sits against the window's right edge.
  • The dark-mode thumb is #ffffff14 (8% white). On a black background that renders as grey 20 out of 255, a contrast of about 1.1:1. WCAG 1.4.11 asks for at least 3:1 for controls.
  • It stays at opacity-0 until the area is hovered or scrolled, then fades out 300ms after scrolling stops. You can't find it first and then aim for it.
  • Settings > Appearance > contrast at maximum doesn't change it. --app-scrollbar-thumb is a fixed color, not tied to the contrast settings.
  • Some areas never get a scrollbar (hideScrollbars: true), for example the sidebar thread list. Native scrollbars are turned off everywhere by Base UI's base-ui-disable-scrollbar, so nothing replaces them.

Steps to reproduce

  1. Use a dark theme.
  2. Open a long thread.
  3. Look for the vertical scrollbar without scrolling, then while scrolling.

Expected behavior

A scrollbar you can see and grab, at least while hovering or scrolling, that meets 3:1 contrast.

Actual behavior

Hidden while idle. While visible it's about 1.1:1 against the background. A 1:1 crop of the window's right edge while scrolling looks entirely black.

Suggested fix

  • Raise the dark-mode thumb color (for example to about #ffffff40, with a hover color around #ffffff66) and/or tie it to the contrast setting.
  • Add an "Always show scrollbars" option under Appearance that keeps the bar at opacity-100.
  • Optionally widen the bar on hover (6px to 10px) so it's easier to grab.

Impact

Major degradation for anyone who drags the scrollbar instead of using the wheel.

Version or commit

0.1.7-nightly.20261102.4066 (Linux AppImage)

Environment

Linux (Fedora 44), Cinnamon on X11, dark theme

Screenshots

To be added in a comment: a 1:1 crop of the window's right edge while scrolling, and a 2x zoom with the scrollbar boxed.

Synced from GitHub

I'm seeing the same problem on Linux with KDE: the scrollbar is almost invisible, making it hard to find and grab.

Could the theme settings include controls for scrollbar colors (normal and hover) and width? Being able to choose a higher-contrast color and a wider scrollbar would make it much easier to use without having to patch CSS.