raphael.draggable
raphael.draggable copied to clipboard
error in dragging
If you move the cursor so quickly that it lands outside the dragged object then the object no longer follows the cursor.
I haven't looked at the code but this is a common problem in implementing drag-and-drop
Probably because the event handler is bound to the object. You have to bind it to the underlying canvas, so that dragging will still work for fast cursor movements
/Joe
I'll take a look at this more closely. I did have the issue you mention when the onmousemove was tied to the element being dragged, but I'm watching that event on the document now, so I'm not sure what the issue is yet.
Do you know if it happens with particular shapes or does it happen with anything on the canvas?