Skip to content

Make it possible to tell a scrollbar to be "always on" #8

Open
vitch opened this Issue Aug 21, 2010 · 9 comments

8 participants

@vitch
Owner
vitch commented Aug 21, 2010

Similar to overflow: scroll - you should be able to make scrollbars appear even if they aren't necessary...

@jeanduplessis

I would like to see this feature too

@Garima
Garima commented Nov 26, 2010

Even i want to see this feature badly.Without this UI looks like its dancing.

Reported at http://code.google.com/p/jscrollpane/issues/detail?id=236&can=1&q=scrollpane%20width#makechanges also

@vitch
Owner
vitch commented Nov 26, 2010

I provided a workaround on this question on stack overflow - maybe it will help you until I get a chance to implement the functionality into the plugin:
http://stackoverflow.com/questions/4245551/jquery-jscrollpane-is-it-possible-to-force-always-show-vertical-scrollbar

@Garima
Garima commented Nov 26, 2010

Thanks Kelvin it worked for me :).Would wait for this feature to get implemented.

Also it would be great if you can suggest some way to hide jspTrack or jspDrag if scroll is not needed. :)

Again thnx a lot for the support you r providing

@fustic
fustic commented Mar 20, 2012

the one of solution is to put into the default settings a new parameter "allwaysShowScroll : true,"
and in function initialiseVerticalScroll() - change a condition
from
if (isScrollableV) {
to
if (isScrollableV || settings.allwaysShowScroll) {

@illililiil

fustic, this is it!! works great!!
i also had to change line 176 from
if (!(isScrollableH || isScrollableV))
to
if (!(isScrollableH || isScrollableV || settings.allwaysShowScroll))

great solution, thanks!

@Akaryatrh

Thx for the solution, would be lovely to see this implemented in master branch !

@scottgallant

+1 for this feature.

@stevenwoodson

I can also confirm this works, would be great to see this merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.