jQuery Scrollbar
Cross-browser CSS customizable scrollbar with advanced features:
- Easy to implement
- No fixed height or width
- Responsive design support
- CSS customizable
- Standard scroll behavior
- Vertical, horizontal or both scrollbars
- Automatically reinitialize scrollbar
- External scrollbars support
- Browser support: IE7+, Firefox1, Opera, Chrome, Safari
- jQuery Scrollbar as Angular.JS directive
- Textarea scrollbar
- RTL support2
Basic Scrollbars Demo
Advanced Scrollbars Demo
jQuery Scrollbar as Angular.JS directive
Documentation
Changelog
Download
1 There is known issue that native browser scrollbar cannot be hidden in Firefox on Apple devices, so this plugin is not initialized and you will see native scrollbars. 2 Experimental support in master branch, styles for scrollbars are not updated
incorrect sizing
hi there, just wondering if anyone else has run into any problems with scrollbars being incorrectly sized. I can't figure out if it's just me or if it's the plugin. I am using the plugin inside of an app that i'm building using backbone marionette. I only init the plugin after inside of onAttach functions, or after the element has been put into the dom, but with the dynamic content i'm loading in asyncly the scrollbars I'm getting are not quite reflective of the amount of content there is. Well, I should say that I'm not sure if it's because of the padding i have on the wrapper inside of the div i'm calling the plugin on, or if it's the content that's being brought in. Has anyone else gotten this problem?
Scrollbar appears on DIV with 100% height
@gromo As you can see in the screenshot,
the scrollbar will also appear on DIVs where no scrollbar is necessary, e.g. on 100% height DIVs.
Also the scrollbar seems not to update correctly, as you can see here:
How to avoid that? I would like to try to update the plugin automatically or just remove and reinitialize it, but unfortunately you have not documented such parts...
Not working in Firefox on Apple
You can't set the height this way on Apple..
Works fine on Windows with Firefox, Chrome and IE
Some points need to improve!
I just checked the source at a simple walkthrough, and found something, IMHO, need improvement.
debug
property indefaults
object is uselesslog
property inbrowser
object depends on the inner variablesdebug
which is not exposed to the userVisible Native Horizontal Scrollbar in IE & Firefox
I have a sidebar with 100% height and a item menu inside.
http://jsfiddle.net/mfwonghk/ku9cmv56/
In 0.2.6 the native horizontal scrollbar is hidden. After updating to 0.2.8 it is visible in IE & Firefox.
Is this a bug or I need to change my CSS?
scrollbar-content has parent classes
Why your plugin copy classes from main container to children "scrollbar-content" ???
https://postimg.org/image/q4h64toix/
this is very irritating with planing css structure
Scrollbar not showing when chidren's height set in %
Hi, I'm having some hard time trying to make the bar appear when used inside a list, with its li children's height set as 33.33333% (and 4+ li in a column). The overflow isn't detected, the scrollbar doesn't show. When set in px, no problem at all.
Here is a fiddle of the issue : http://jsfiddle.net/sylvainjule/zwL0pLng/4/
I currently get it working by previously formatting the height with jQuery : http://jsfiddle.net/sylvainjule/n3h01tvx/46/
But wonder if the issue has already shown up / there is a cleaner fix ?
Scroll not rendering on OS X Firefox
из-за последней проверки
browser.macosx && !browser.webkit
кастомные скроллы не редерятся в невебкит браузерах, на Маке, например в Firefox и opera 12Question: How to debug issues with native scrollbars?
Hey,
I have a problem with the plugin in MS Edge:
but I also had already problems in other browsers. However, this is my current problem. Of course I would like to fix the appearance of the native scrollbar. But how can I debug this? Unfortunately I am not able to reproduce it on jsfiddle. @gromo do you have any idea?
How to control when scrollbar should appear
Hi Gromo,
I am looking for an option, to control height.
I have panel which has some list items, and i want to activate scrollbar if height of panel is >600px, othervise it should not applied.
I am trying with fixed height, but problem occurs when that panel have small number of items or nothing at all, blank space remain because of height 600px
Any way to solve that.
Empty space at bottom on dynamically removing table row
I have initialized jquery scrollbar on a table. table is having horizontal scroll only. I can add/remove rows dynamically on button click. On adding row there is no issue, however on removing rows, there is empty space at the bottom.
Is there any solution?
OnScroll event firing before initialize
I want to start the scrollbar from bottom and prepending data when user scrolled to top.
But all data loading when initializing.
Firefox , IE and Edge native scrollbar
On IE and MS Edge the native scrollbar was always appearing behind the scrollbar-macosx.
Solution for IE and EDGE: Adding to .scroll-wrapper{ -ms-overflow-style : none }
For Firefox on Windows 10 the native scroll look is showing behind the scrollbar-macosx. Any fix for this? I am using Bootstrap v 3.3.7
Как перейти сразу в конец блока? ("go to end" button)
Пытаюсь сделать кнопку при нажатии на которую сразу переходим в конец блока. Как это реализовать?
I try to make a button when I click on it and immediately go to the end of the block. How to implement this?
archive project / search for maintainers
It seems there are many open issues and pull requests which can be solved.
Currently there are way too many custom scrollbar solutions on GitHub and no real collaboration between projects and everyone reinvents the same. Would be great to see a few great solutions instead of many with not enough support by the community.