Giter Site home page Giter Site logo

Drag not stopping about jscrollpane HOT 7 CLOSED

vitch avatar vitch commented on June 12, 2024
Drag not stopping

from jscrollpane.

Comments (7)

vitch avatar vitch commented on June 12, 2024

Are you seeing this on my examples or just on your demo page. The mouseup handler is actually on the html element and so should always be fired. However, someone else was having a similar problem recently. I'm not sure if it is to do with the layout of the specific pages or maybe a change in jQuery - what version of jQuery are you using?

from jscrollpane.

m1n0 avatar m1n0 commented on June 12, 2024

I am experiencing the same problem, using ScrollPane on Drupal site (jQuery version 1.2.6). Is it because of the jQuery version?
Thanks

edit:
I solved it by using older deprecated version of jscrollpane

from jscrollpane.

vitch avatar vitch commented on June 12, 2024

jScrollPane 2 requires jQuery 1.4+

If you are stuck using jQuery 1.2.6 (which was released back on 2008-05-24) then you'll need to use jScrollPane 1. More info:
http://groups.google.com/group/jscrollpane/browse_thread/thread/694dbfa054bc27b2

@judahtanthony - what version of jQuery are you using?

from jscrollpane.

judahtanthony avatar judahtanthony commented on June 12, 2024

Yes, indeed. I am on Drupal 6 which ships with jQuery 1.2.6. I will download and try out jScrollPane 1 tomorrow. For anyone else who is interested you can download jScrollPane 1.x at https://github.com/vitch/jScrollPane/tree/1.x

from jscrollpane.

 avatar commented on June 12, 2024

Hi all, I'm using jQuery 1.4.2 and jScrollPane 2, but still experiencing the same problem sometimes.
There should be some bugs on drag stop function.

Thanks

from jscrollpane.

 avatar commented on June 12, 2024

Quick-Solution: In initialiseVerticalScroll after: verticalDrag.hover(...) add something like:
verticalDrag.parent().parent().parent().parent('.jspScrollable').bind('mouseup.jsp mouseleave.jsp', cancelDrag); Same goes for: initialiseHorizontalScroll

from jscrollpane.

illuusio avatar illuusio commented on June 12, 2024

If this is still issue please reopen.

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.