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

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

Closed
vitch opened this issue Aug 21, 2010 · 10 comments
Closed

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

vitch opened this issue Aug 21, 2010 · 10 comments

Comments

@vitch
Copy link
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
Copy link

I would like to see this feature too

@Garima
Copy link

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
Copy link
Owner Author

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
Copy link

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
Copy link

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
Copy link

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
Copy link

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

@scottgallant
Copy link

+1 for this feature.

@stevenwoodson
Copy link

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

illuusio added a commit that referenced this issue Dec 23, 2017
Fix for bug #8 with add two new parameters: alwaysShowVScroll and alwaysShowHScroll.
@illuusio
Copy link
Collaborator

This one is merged now please test.

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

Successfully merging a pull request may close this issue.

9 participants