Ok so here is the challenge. I bought the trello tutorial which is very cool by the way. I am using the drag and drop and am trying to reorder a list based on where the droppable element is dropped. What formula or method can I use to change only the block being moved without having to make changes to other blocks, which slows everything down.
For example I have a list like so
If I want to move B2 under A2 what workflow or formula can I use without making changes to the entire list?
Right now I have it set where it goes +.001 to the current number of the destination block. So when I drag B2 to A2 it adds .001 to B2 to make it fall under A2. But when I drag B3 under A2 it breaks it since both B2 and B3 have the same order value of A2+.001 . I have spent a day contemplating this and I am sure the answer is simple but it eludes me.
To change everything on the list would slow down the drag and drop so I don’t like this idea. I want an elegant solution the makes only a change to the block being moved.
Any thoughts would be greatly appreciated. Virtual keg for the most elegant solution:)