ARTICLE AD BOX
There is a chromium flag called "overlay-scrollbar". It is supposed to re-enable css overflow: overlay.
Some websites and articles claim that this chromium flag is disabled. However, it is present in the documentation and even on chrome://flags/#overlay-scrollbars.
I need to know how to enable this flag in my Electron app. My objective is to achieve scrollbars that look and behave like Visual Studio Code scrollbars.
Here is what I've tried (with apparently no effect):
app.commandLine.appendSwitch("enable-features", "FluentOverlayScrollbars,FluentScrollbar,OverlayScrollbar" );And then in my css:
div { overflow: overlay; }I know it is deprecated and discouraged for website development but it doesn't apply to my case since it is an Electron app.
OBS: I'm using the latest version of Electron/Chromium.
