Stereobit / dragend

dragend JS – a touch ready, full responsive, content swipe script
http://stereobit.github.com/dragend/
MIT License
485 stars 114 forks source link

Create "scrollMargin" to trigger swipe only after the threshold #45

Open macedd opened 9 years ago

macedd commented 9 years ago

On mobile when scrolling vertically (with dragend mode set to horizontal) its annoying to have the content dragging to sides litle-by-litle when user just want to straight scroll vertically.

Also having it moving pixel-by-pixel with the finger movement is a rendering hog. Not sure if its only the taget device..

But I think should exist a threshold to trigger the swipe movement. If the user moves certain amount for the side dragend is configured (right, in the case of horizontal) then it starts to swipe..

hashworks commented 9 years ago

For me it's impossible to scroll vertically at all. +1

zachsents commented 8 years ago

Same issue, can't scroll vertically. +1