azoff / overscroll

Touch scrolling for the browser
http://azoff.github.io/overscroll
414 stars 82 forks source link

Fires dragstart only after mousedown then mousemove #111

Open giovannipds opened 10 years ago

giovannipds commented 10 years ago

Hello @azoff! I'm trying to use your project for the first time and I've noticed that the overscroll:dragstart event is firing like mousedown event. I do not agree with this... what you think of only firing this event after mousedown and then mousemove? If the user it's not moving its mouse, he isn't really dragging it yet. At least, that's my oppinion. Maybe it'll be interesting having a look at hammer.js's approach. The same thing happens to the overscroll:dragend event, it should fire only after really dragging the content. My regards, Gio. If you need some help to accomplish that, let me know. See ya! And thanks.

giovannipds commented 10 years ago

@azoff, look here! ;)

fgrs commented 10 years ago

yeah this should be prioritized also dragend gets fired on mouse click which is wrong