Giter Site home page Giter Site logo

Comments (10)

jeanduplessis avatar jeanduplessis commented on June 12, 2024

I would like to see this feature too

from jscrollpane.

Garima avatar Garima commented on June 12, 2024

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

from jscrollpane.

vitch avatar vitch commented on June 12, 2024

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

from jscrollpane.

Garima avatar Garima commented on June 12, 2024

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

from jscrollpane.

fustic avatar fustic commented on June 12, 2024

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) {

from jscrollpane.

illililiil avatar illililiil commented on June 12, 2024

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!

from jscrollpane.

Akaryatrh avatar Akaryatrh commented on June 12, 2024

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

from jscrollpane.

scottgallant avatar scottgallant commented on June 12, 2024

+1 for this feature.

from jscrollpane.

stevenwoodson avatar stevenwoodson commented on June 12, 2024

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

from jscrollpane.

illuusio avatar illuusio commented on June 12, 2024

This one is merged now please test.

from jscrollpane.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.