gwt-dnd icon indicating copy to clipboard operation
gwt-dnd copied to clipboard

Children widgets of drag handle also handle mouse down event.

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

Just like in this demo https://gwt-dnd.appspot.com/#DragHandleExample i have a 
window with a dra handle. But this drag handle also has child widgets: buttons, 
edit box, etc. 

When i press mouse button down on one of those child widgets, the whole 
draggable panel gets dragged.

How do i prevent dragController.makeDraggable(panel, handle) not to register 
onMouseDown event for the child widgets of handle widget?

Original issue reported on code.google.com by [email protected] on 21 Feb 2014 at 7:19

GoogleCodeExporter avatar Mar 13 '15 19:03 GoogleCodeExporter

Oh, and i'm using dnd 3.2.3 with gwt 2.5.1, tested on Chromium (31.0.1650.63, 
Debian 7.3)

Original comment by [email protected] on 21 Feb 2014 at 7:46

GoogleCodeExporter avatar Mar 13 '15 19:03 GoogleCodeExporter