Is it possible to force jQuery.jScrollPane to show a vertical scrollbar?

Is it possible to make jQuery.jScrollPane always show a vertical scrollbar?

eg. hidden setting, API function?

Preferably, without touching the content panel, its height, etc.

+3
source share
2 answers

Unfortunately, this is currently not possible with jScrollPane. There is an open function request for this:

https://github.com/vitch/jScrollPane/issues#issue/8

, , :

http://www.jsfiddle.net/vitch/5D8sR/

, !

+4

, , , "alwaysShowScroll: true" jquery.jscrollpane.js:

~ 176, if (!(isScrollableH || isScrollableV)) {
if (!(isScrollableH || isScrollableV || settings.alwaysShowScroll)) {

~ 241, if (isScrollableV) {
if (isScrollableV || settings.alwaysShowScroll) {

+2

Source: https://habr.com/ru/post/1776217/


All Articles