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

Overlapping drop target not handled

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

What steps will reproduce the problem?
1. create two drop targets with z-index so that they overlap
2. drop a draggable over

What is the expected output? What do you see instead?
The draggable should drop into the topmost one.
It drop instead on the bottom one.

This is becouse the library chose "the deepest DOM descendant drop target".

Here's my patch.
It simply order the drop targets considering the z-index.
(disabled by default)

Original issue reported on code.google.com by lelmarir on 29 Apr 2013 at 12:30

Attachments:

GoogleCodeExporter avatar Mar 13 '15 19:03 GoogleCodeExporter

sorry, I just realized that i've messed up with the patch file. Here's the 
correct one.

Original comment by lelmarir on 2 May 2013 at 9:15

Attachments:

GoogleCodeExporter avatar Mar 13 '15 19:03 GoogleCodeExporter