This project is read-only.

Sorting a dragged item when mouse is outside of list

Dec 20, 2009 at 12:13 AM

This is not so much a bug, as it is something of a feature request.

If I click and drag an item up or down in a list, and move the mouse outside of the list while I am still dragging the item up or down, the item continues to move in the list, but the other items do not move when the item is dragged over them. The item simply passes over them, and returns to its original position on mouseup.

Like I said, it is not really a bug - users can simply keep the mouse over the list if they want to re-arrange it. But it would be very nice to allow the freedom of sorting an item in a list while the mouse has left the list.

Thanks for the help so far. You've really made a great piece of code here!

Dec 21, 2009 at 6:09 AM

Your suggestion makes a lot of sense. When I have some spare time I'll take a look at making that change.