Chrome occupying the space of default hidden native scrollbar.
See original GitHub issueHello First of all Thank you so much for this awesome scrollbar,
I have tried to update the latest version of the OverlaysScrollbars and I found that It is adding some space at right side of the window for the chrome browser version 91.0.4472.7 Here I have attached the screenshots.
I think it is occupying the width of the native scrollbar.
If I am trying with to add the following css then its working properly.
::-webkit-scrollbar {
width: 0px;
}
This is only happening in Chrome
<div class="os-content" style="padding: 0px;height: 100%;width: 100%;border-right: 30px solid transparent;min-height: 31px;">
I have noticed in the os-content div it is adding the border-right: 30px
causing the issue
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Chrome occupying the space of default hidden native scrollbar.
Chrome occupying the space of default hidden native scrollbar. ... It is adding some space at right side of the window for the...
Read more >Chrome reserves space for scrollbar even if it is hidden
I have run into an issue on webkit browsers (IE and FF are ok) where the scrollbar space is reserved ...
Read more >Show or Hide Google Chrome Scrollbar (Overlay ... - HelpCloud
Start by opening a new Chrome window or tab. · The page should show multiple drop-down menus saying either 'Default' 'Enabled' or 'Disabled'...
Read more >How can I launch a browser with no window frame or tabs ...
I am looking for a way to launch Chrome ...
Read more >Who Killed the Scrollbar? - Hacker News
Firefox and Chrome, by default, have survived hamburgerization...because it can't be hidden. Sure, an application that doesn't use it at all ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve also found the reason behind the CSS loading. In chrome the stylesheet is loaded like:
vs Firefox:

If I change the
media="print"
tomedia="all"
in chrome, then its working and the styles are there.I’m happy everything working now! 😃