cubiq / iscroll

Smooth scrolling for the web
http://iscrolljs.com
MIT License
12.87k stars 3.8k forks source link

How to enable "eventPassthrough" only for touch events (vertical scroll) #1048

Open yellow066 opened 8 years ago

yellow066 commented 8 years ago

When "eventPassthrough" is activated, mouse does not drag gallery, instead it try to drag image (standard chrome behavior). I added if statement and activate "eventPassthrough" only on mobile devises, but there is problem. For example, on Windows tablets I could use mouse or touch screen, but my solution disables one of these.

How to enable "eventPassthrough" only for touch events (vertical scroll)?

synthview commented 8 years ago

Hello, have the same problem here… Is it possible to add an option (the eventPassthrough) to an already initiated IScroll? Thanks

anteksiler commented 8 years ago

+1