Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

Overlapping drop target not handled #169

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment
Open

Overlapping drop target not handled #169

GoogleCodeExporter opened this issue Mar 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant