DragDropInteractions icon indicating copy to clipboard operation
DragDropInteractions copied to clipboard

Click reveals draggable area

Open rotatordisk92 opened this issue 11 years ago • 1 comments

It's hard for click and draggable events to co-exist. a simple click attempts to trigger draggable area. delay and distance parameters dont work.

rotatordisk92 avatar Nov 21 '14 06:11 rotatordisk92

$('body').mousedown(function() { var down; down = true; }); $('body').mouseup(function() { var down; down = false; }); setTimeout(function() { if (down) { return classie.add(dropArea, "show"); } }, 200); return;

Workaround, but this code blocks all click events. Can I get some help? @crnacura Is there some delay or distance option? Which let me put some "click" functionality alongside the drag functionality?

rotatordisk92 avatar Nov 21 '14 07:11 rotatordisk92