Drag after long press only, so I can scroll with one finger

22 views
Skip to first unread message

Glen Pierce

unread,
Aug 24, 2016, 4:37:22 PM8/24/16
to gwt-dnd
I have a FlowPanel that contains several FlowPanels that have all been madeDraggable. I want to handle a one-finger scroll event on touch devices (I know that two finger scroll is possible). The problem is that the FlowPanels that are draggable are always intercepting the OnTouchStart Event and they start dragging instead of allowing the FlowPanel to scroll.

Is there a way to set a delay on the OnTouchStart Events that are being called by the MouseDragHandler so that items will only become draggable after a long press?
Reply all
Reply to author
Forward
0 new messages