After quite a few hours of hacking about ('twas my first use of the draggable groups/drop area elements), I got a slick Airbnb-inspired photo uploader and sorter (nearly completed). The one thing I don’t have worked out yet is that – when a dragged photo is over the photo it’s going to displace – the “to be moved” photo does not jump to the dragged photo’s original location.
I’ve been having rather a devil of a time figuring out how to make that work (I suspect that I have to fire a custom event when the dragged photo enters the Drop Area, and use that to trigger some other workflow that moves the photo group associated with the Drop Area’s cell to the original position of the dragged group – if anyone’s got a cute example of that, it would be appreciated). Anyway, here’s how it looks: