Skip to content

White scroll bar in dark theme in Chrome #3604

@rakleed

Description

@rakleed

Prerequisites

  • I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
  • This is NOT a YouTube, Facebook or Twitch report. These sites MUST be reported by clicking their respective links.
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • The issue is not present after disabling uBO in the browser.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.

I tried to reproduce the issue when...

  • uBO is the only extension.
  • using a new, unmodified browser profile.

Description

Scroll bar should be dark in the dark theme.

You use color-scheme: dark; only for some inputs https://github.com/gorhill/uBlock/blob/dfd42ebf5ffa1e70c8ecd6f7cc0e8fb680e0d934/src/css/themes/default.css#L384-L388, but you should apply it to root element as well.

A specific URL where the issue occurs.

chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/dashboard.html#settings.html

Steps to Reproduce

  1. Choose a dark theme in a browser or system
  2. Open uBlock Origin settings

Expected behavior

Dark scroll bar.

Actual behavior

White scroll bar.

Configuration

uBlock Origin: 1.63.2
Chromium: 135
filterset (summary):
 network: 304891
 cosmetic: 214722
 scriptlet: 58269
 html: 0
listset (total-discarded, last-updated):
 removed:
  ublock-badware: null
  easyprivacy: null
 added:
  adguard-generic: 105637-5695, 51m
  adguard-mobile: 10856-101, 51m
  adguard-spyware-url: 2050-135, 51m
  adguard-spyware: 154549-2293, 51m
  adguard-cookies: 33826-92, 51m
  ublock-cookies-adguard: 4208-25, 51m
  adguard-social: 23863-40, 51m
  adguard-popup-overlays: 29131-1283, 51m
  adguard-mobile-app-banners: 5992-21, 51m
  adguard-other-annoyances: 14816-188, 51m
  adguard-widgets: 2928-6, 51m
  ublock-annoyances: 6054-17, 51m
  [2 lists not shown]: [too many]
 default:
  user-filters: 0-0, never
  ublock-filters: 40410-531, 52m
  ublock-privacy: 2801-15, 52m
  ublock-unbreak: 2564-1, 52m
  ublock-quick-fixes: 424-0, 52m
  easylist: 68527-490, 52m
  urlhaus-1: 34520-0, 52m
  plowe-0: 3447-0, 52m
filterset (user): [empty]
userSettings:
 cloudStorageEnabled: true
 contextMenuEnabled: false
 showIconBadge: false
hiddenSettings: [none]
supportStats:
 allReadyAfter: 1803 ms
 maxAssetCacheWait: 4 ms
 cacheBackend: indexedDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions