highly functional draggable + sorttable - where the drag only sorts upon snap
I know this is very very specific. I have been trying to write this code for the past 2 days and i am getting nowhere.
heres my scenario: I have a list of 10 images, left to right. I want a user to be able to drag the li's wherever they want on screen individually, but also if they are near the original container snap to the container and start sorting inside of it. when they stop dragging if they are not 'snapped' to their original container i want to not revert, but stay afloat wherever on screen and not be in the sortable list anymore.
i know everythings possible, i just cant figure this problem out... Thanks for any help in advance.