Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaling the browser window reveals the native scrollbars in chrome #14

Open
fpauser opened this issue Jan 17, 2019 · 5 comments
Open

Scaling the browser window reveals the native scrollbars in chrome #14

fpauser opened this issue Jan 17, 2019 · 5 comments

Comments

@fpauser
Copy link

fpauser commented Jan 17, 2019

When scaling the browser window native scrollbars appear in addition to the fakescroll scrollbars:

image

This happens in the latest stable google chrome.

@mohmedxpmpa
Copy link

me too

@fpauser
Copy link
Author

fpauser commented Mar 5, 2020

I switched over to SimpleBar and don't have any issues so far. Its also lightweight and actively maintained.

@fpauser fpauser closed this as completed Mar 5, 2020
@yairEO
Copy link
Owner

yairEO commented Mar 5, 2020

I have nothing to maintain because there were no issues and I wrote it years ago and it's so simple and small it just works great.

If you care specifically about people who scale their browser than simply adjust your CSS accordingly.

In terms of javascript, there can be nothing lighter and better than this script (and all my other scripts for the matter)


Update - I see it's not the browser scaling which is the problem but OS systems where they are configures to render anything at over 100% (only old people or ones with vision issues configure it over 100%)

@yairEO
Copy link
Owner

yairEO commented Mar 5, 2020

@fpauser - looking at SimpleBar NPM it's 504 kB where mine is 65.1 kB (I can get it down a lot more, it's including minified + unfinished code which is a duplication, so I honestly do not understand you claim for it to be "lightweight". it's literally close to 8 times my code.

@fpauser fpauser reopened this Mar 5, 2020
@ataylor32
Copy link

I haven't seen this issue occur myself, but if it is still a problem, I wonder if disabling native scrollbars would fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants