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.
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/
, !
, , , "alwaysShowScroll: true" jquery.jscrollpane.js:
~ 176, if (!(isScrollableH || isScrollableV)) {if (!(isScrollableH || isScrollableV || settings.alwaysShowScroll)) {
if (!(isScrollableH || isScrollableV)) {
if (!(isScrollableH || isScrollableV || settings.alwaysShowScroll)) {
~ 241, if (isScrollableV) {if (isScrollableV || settings.alwaysShowScroll) {
if (isScrollableV) {
if (isScrollableV || settings.alwaysShowScroll) {
Source: https://habr.com/ru/post/1776217/More articles:GDI leak problem - cГде в базе данных Umbraco хранит информацию о своей версии? - umbracorecord in several records by start and end date - datetimeWhat does com.sun.el contain? - elGDI leak problem - cLocalized Views Using Razor - asp.net-mvcC # need to raise an event when in the LOCK area - c #android.database.sqlite.SQLiteConstraintException - androidC #: raise an event from a locked block - multithreadingOne shipping fee to paypal online store - paypalAll Articles