Re:Ask HN: Current best practice for drag-and-drop?
by chrisBob on Tuesday August 19, 2014 @12:53PM
(#8198386)
This is trivial in a native iOS app: you just look for two touches and call that scrolling. Does the framework you are working with expose all of the touch events?
Re:Ask HN: Current best practice for drag-and-drop?
by lbotos on Tuesday August 19, 2014 @02:03PM
(#8198817)
It could. So you are saying two fingers for scroll then, yes? I'll try that.
Re:Ask HN: Current best practice for drag-and-drop?
by chrisBob on Wednesday August 20, 2014 @11:08AM
(#8202617)
It is actually my trackpad not the iPad that uses two finger scroll. I assumed they were the same, and I guess I don't really notice how I scroll on the iPad. I am sure a two-finger scroll will work, but it is not the native recommendation like I though.
The native iOS answer is actually if the finger is static for a certain time interval then it is a click, but if it begins moving immediately then it is a scroll (swipe).
Re:Ask HN: Current best practice for drag-and-drop?
by michaelmior on Tuesday August 19, 2014 @01:07PM
(#8198475)
The best spot to ask is probably Stack Overflow.
I'm currently trying JQUI with touchpunch and have considered hammer.js. Anyone have experience with scrolling and dnd on mobile?