Changes between Initial Version and Version 1 of Ticket #5772, comment 8


Ignore:
Timestamp:
Mar 12, 2013, 5:10:33 PM (9 years ago)
Author:
dcarrith
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5772, comment 8

    initial v1  
    44To summarize though, I think it comes down to where the mouse pointer is when you grab the item to drag.  If it is below the middle point of the item you're grabbing, and the tolerance method is "intersect" (i.e. the default) then you will never be able to drop the item above the first item in the list (to make it the new first item).  If the mouse cursor is above the middle point of the item you're grabbing, then you will not be able to drop it as the last item in the list.  That's because the "pointer" point (which is what the "intersect"  condition seems to be based) will never cross the half way point in either of those scenarios. 
    55
     6I think the default "tolerance" method "intersect" should be updated to figure out the dimensions of the item being dragged, and then base the determination of the intersection on the edges of the dragged item rather than the mouse pointer.  The "pointer" method seems to work as expected.     
     7