I am working on a web application where I support dragging and dropping a page just by watching the mousedown / mousemove / mouseup events. This part works great.
The problem is that I only handle drag and drop inside one element, by design, and if the user (by accident or not) is dragged out, he "gets stuck" in drag and drop mode. That is, mouse-down, then mouse-window, then mouse, and then mouse returns to the window, it looks like it is still being dragged into my application.
I did not find a way to solve this - even something simple, like "when the mouse enters the window again, click down?" will work.
Is there such functionality, and I just skipped it? Or is there some kind of smart workaround that I can use here?
Legacy support doesn't matter to me - if it's an HTML5 solution that only works in FF3.5 / Chr4 / Sf4, I'm happy with that.
html drag-and-drop
Ken
source share