Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#6009 closed bug (fixed)

Upper droppable should receive draggable

Reported by: maxbarbul Owned by:
Priority: minor Milestone: 1.8.17
Component: ui.droppable Version: 1.8.4
Keywords: Cc:
Blocked by: Blocking:

Description

HTML file attached. Try to run it and read following comments. http://www.seogoogle.ru/sites/dnd_ticket.html

Try to drag draggable over two droppables. There are positions when they both are hovered though only one should be. I think that only one droppable should be hovered because only one could receive this draggable so only one should show that it's waiting.

When you drop draggable into intersection of droppable1 and droppable2 (when they are hovered) only droppable1 will receive draggable though droppable2 is on top. And droppable2 will be keeping hoverClass untill next dragging.

Attachments (2)

dnd_ticket.html (2.7 KB) - added by maxbarbul 13 years ago.
incorrect drop when second created droppable has greater z-index then first and it hovers first one
jquery.ui.draggable.dropintoupper.js (1.0 KB) - added by maxbarbul 13 years ago.
This is how I solved problem. I use plaugin for draggable. But it doesn't help with hoverClass

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by maxbarbul

Attachment: dnd_ticket.html added

incorrect drop when second created droppable has greater z-index then first and it hovers first one

Changed 13 years ago by maxbarbul

This is how I solved problem. I use plaugin for draggable. But it doesn't help with hoverClass

comment:1 Changed 12 years ago by bikeshedder

I just stumbled across the same issue and prepared a test case for this. This is probably related to #6085.

http://jsfiddle.net/PHQHb/5/

comment:2 Changed 12 years ago by bikeshedder

comment:3 Changed 12 years ago by Michael P. Jung

Resolution: fixed
Status: newclosed

Droppable: Make sure._drop is called for all relevant droppables. Fixes #6009 - Upper droppable should receive draggable. Fixes #6085 - Parent droppable takes precedence over dynamically created child droppable.

Changeset: fdc332ed5fb7f7e688151d5cae9b450569d73da5

comment:4 Changed 12 years ago by Michael P. Jung

Droppable: Make sure._drop is called for all relevant droppables. Fixes #6009 - Upper droppable should receive draggable. Fixes #6085 - Parent droppable takes precedence over dynamically created child droppable. (cherry picked from commit fdc332ed5fb7f7e688151d5cae9b450569d73da5)

Changeset: f7b28df28809bca05623b7394919d15919334afb

comment:5 Changed 12 years ago by Scott González

Keywords: droppable draggable accept removed
Milestone: TBD1.8.17
Note: See TracTickets for help on using tickets.