jquery-ui icon indicating copy to clipboard operation
jquery-ui copied to clipboard

Droppable: Fix bubbling of greedy droppables

Open dritter opened this issue 9 years ago • 1 comments

  • Remove code that made the false assumption that if dragging an element out of the greedy child, it is always over the parent. This is not always true, as the child could be right on the parents border, or even pushed (partially) outside of the parent.

  • This commit includes the fixes of maimairel, the original author of #9389 from his fiddle http://jsfiddle.net/fvjF4/

This fiddle demonstrates the fix: https://jsfiddle.net/dritter/36gvy1a7/ Just move the blue box over the green boxes. You'll see no yellow flash of the parent box (red).

Fixes: #9389

dritter avatar Nov 16 '16 22:11 dritter

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

jsf-clabot avatar Nov 16 '16 22:11 jsf-clabot