Ticket #6009 (closed bug: fixed)

Opened 4 years ago

Last modified 2 years ago

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:
Blocking: Blocked by:

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

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

Change History

Changed 4 years ago by maxbarbul

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

Changed 4 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 3 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 3 years ago by bikeshedder

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

  • Status changed from new to closed
  • Resolution set to fixed

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 2 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 2 years ago by scott.gonzalez

  • Keywords droppable, draggable, accept removed
  • Milestone changed from TBD to 1.8.17
Note: See TracTickets for help on using tickets.