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.

Chrome occupying the space of default hidden native scrollbar.

See original GitHub issue

Hello 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.

image

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:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
KingSoracommented, Jun 9, 2021

I’ve also found the reason behind the CSS loading. In chrome the stylesheet is loaded like: grafik vs Firefox: grafik

If I change the media="print" to media="all" in chrome, then its working and the styles are there.

0reactions
KingSoracommented, Jun 14, 2021

I’m happy everything working now! 😃

Read more comments on GitHub >

github_iconTop 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 >

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