Open fpauser opened 5 years ago
me too
I switched over to SimpleBar and don't have any issues so far. Its also lightweight and actively maintained.
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%)
@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.
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.
When scaling the browser window native scrollbars appear in addition to the fakescroll scrollbars:
This happens in the latest stable google chrome.