I'm having a little problem with some dragging and dropping with jQueryUI (most recent versions).
I've got a draggable, that isn't all that special. I've got 2 drop locations, but they are not parent-child.
The first droppable is right above the second one. The second droppable is inside a scrollable div. And the problem occurs when that div has scrolled down a bit. When the div has scrolled, the second droppable is effectively moved upwards, but this is hidden.
Using the element inspector in Chrome I can see it being highlighted.
Now when I drop a draggable on the first one, both droppables are fired, but I only want the first one to fire.
Using "greedy: true" does not seem to work, most likely because they are not parent-child.
The order in which they are fired is predictable. The first (visible droppable) is fired first, then the second (which you actually can't see).
Is there a way to prevent the second droppable to fire?
jsfiddle example