fakescroll icon indicating copy to clipboard operation
fakescroll copied to clipboard

Scaling the browser window reveals the native scrollbars in chrome

Open fpauser opened this issue 6 years ago • 5 comments

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

image

This happens in the latest stable google chrome.

fpauser avatar Jan 17 '19 09:01 fpauser

me too

mohmedxpmpa avatar Mar 05 '20 16:03 mohmedxpmpa

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

fpauser avatar Mar 05 '20 17:03 fpauser

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 avatar Mar 05 '20 20:03 yairEO

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

yairEO avatar Mar 05 '20 20:03 yairEO

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.

ataylor32 avatar Sep 23 '20 16:09 ataylor32