Is it possible to force jQuery.jScrollPane to always show a vertical scroll-bar?
e.g. hidden setting, API function?
Preferably without touching the content pane, its height etc.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unfortunately this isn’t currently possible with jScrollPane. There is an open feature request for it though:
https://github.com/vitch/jScrollPane/issues#issue/8
As a workaround for now you could place an element with a min-height directly inside your scrollpane to force the scrollbar like in this example:
http://www.jsfiddle.net/vitch/5D8sR/
Hope it helps!