jquery-ui
jquery-ui copied to clipboard
Droppable: Fix bubbling of greedy droppables
-
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
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.