fredsa / gwt-dnd

Library providing easy to use mouse or touch based drag-and-drop capabilities to GWT
42 stars 41 forks source link

Children widgets of drag handle also handle mouse down event. #177

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 balciuna...@gmail.com on 21 Feb 2014 at 7:19

GoogleCodeExporter commented 9 years ago
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 balciuna...@gmail.com on 21 Feb 2014 at 7:46