Giter Site home page Giter Site logo

Comments (7)

rmdort avatar rmdort commented on June 12, 2024

I think one of the key thing is to seperate the Vertical Scroll bar from the .jspScrollable container. This issue is noticable in Touch screen devices(iOS) when a user taps on the scrollbar, the touch event is invoked on the outer container (.jspScrollable). So instead of this structure

http://pastie.org/1188277

So the scrollbar is seperate from the container and hence wont have any touch conflicts

from jscrollpane.

vitch avatar vitch commented on June 12, 2024

I'm not sure if that is necessary. And it would be a big change to implement changing the structure like that... Does Alex's suggestion above not work? There is also an alternative implementation here: aFarkas/jScrollPane@553612c - as soon as I have access to a touchscreen device I will try both and commit the one which works best...

from jscrollpane.

aFarkas avatar aFarkas commented on June 12, 2024

Using browser sniffing isn't needed simply bind to the touchstart, touchmove touchend events. Then you support all devices, wich have a similiar or equal touchevent implementation. Like I alread commented on my commit. I think there will be a lot greate scripts for handling touchscreen devices/events soon. So my implementation should be seen as a temporal solution.

from jscrollpane.

vitch avatar vitch commented on June 12, 2024

Touchscreen support now implemented in the trunk. Thanks for all of the suggestions and code! Let me know if you notice any problems, I've only been able to test on Android so far...

from jscrollpane.

github074 avatar github074 commented on June 12, 2024

hey vitch,
Can you please share the code ?
Thanks

from jscrollpane.

vitch avatar vitch commented on June 12, 2024

Sure - the code is all available in this repository or for download from the jScrollPane site!

https://github.com/vitch/jScrollPane

http://jscrollpane.kelvinluck.com/

from jscrollpane.

github074 avatar github074 commented on June 12, 2024

thanks bro... works like charm :)

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.