[Bug 13203] There does not seem to be a way to cancel a drag and drop operation at a point later than when `dragenter` fires. Often it is useful to be able to cancel it when the draggable item is dropped, when you know where it is being dropped. I think it would be g

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13203

--- Comment #2 from Jonas <jonas.westerlund@gmail.com> 2011-08-04 07:04:21 UTC ---
Another scenario where it would be useful to be able to abort a D&D action at a
later point,
is when you need to inspect the data in the DataTransfer object to determine if
you will accept it or not.
Something might accept dropping of URIs, but not all URIs will work. It would
then be nice to be able to cancel the d&d action.
Currently, if I am reading the spec right, you can only set data during the
`dragstart` event, and you can only read it during the `drop` event.
It's then too early to cancel it during `dragstart` (might start in another
application too), and too late to cancel it in `drop`.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 4 August 2011 07:04:23 UTC