question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Ignore scrollbars in Edge (Windows 11 style)

See original GitHub issue

Feature Request

Is this feature request related to a problem?

Since Edge introduced the new and improved Windows 11-style scrollbars, which automatically adjust to your browser theme, you no longer need to override the theme for these bars. Just enable edge://flags/#edge-overlay-scrollbars-win-style. If this flag is enabled, DarkReader should ignore scrollbars automatically.

Screenshots

imageimageimage Comparison of Edge light, Edge dark, and Edge + DR.

Additional Context

The “theme generation mode” is not affected by this issue, only the “classic” DR theme has this problem. The target audience is for anyone using Edge or other browsers that have added similar functionality.

The addition of:

::-webkit-scrollbar-thumb:hover
::-webkit-scrollbar-thumb
::-webkit-scrollbar
::-webkit-scrollbar-track

to IGNORE INLINE STYLE had no effect.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
boromyrcommented, Jun 9, 2022

I actually managed to disable scrollbars by commenting a few lines of code, my fork doesn’t change scrollbars in Edge. It seems strange to me that I can’t add a simple on / off option that doesn’t change the scrollbars globally.

1reaction
Gustedcommented, Feb 4, 2022

Because? Since the style is added by DR by logic, it might as well remove it.

Because we have no knowledge whatever the new scrollbar is being used.

Anyway, if you could point me to the file that inject the “::-webkit-scrollbar” styles, I’d be grateful.

https://github.com/darkreader/darkreader/blob/master/src/inject/dynamic-theme/modify-css.ts#L127

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Enable or Disable Overlay Scrollbar in Microsoft Edge
Type the following and hit Enter – edge://flags. Check if Windows-style overlay scrollbars is visible. Select Enabled from the drop-down button ...
Read more >
Enable the Windows 11 Style Overlay Scrollbars in ... - YouTube
If you are a Windows 11 user, you might have noticed the new overlay style scrollbars that change in size when you hover...
Read more >
How to enable Windows 11 style overlay scroll bars in ...
You can now enable this new cleaner looking feature using an experimental flag, that will change the scrollbars to a more fluent modern ......
Read more >
[Tip] Enable Windows 11 Style Overlay Scrollbars in Microsoft ...
1. Open Microsoft Edge web browser and type edge://flags/ in address bar and press Enter. · 2. Now type scrollbars in the “Search...
Read more >
Missing Scroll Bars for 1 user - Microsoft Community
In the Edge adress bar type: edge://flags/#edge-overlay-scrollbars-win-style. See if "Windows style overlay scrollbars." is set to "Default". If ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found