[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

Jonas <jonas.westerlund@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NEEDSINFO                   |

--- Comment #4 from Jonas <jonas.westerlund@gmail.com> 2011-08-19 07:01:05 UTC ---
(In reply to comment #3)
> Status: Did Not Understand Request
> Change Description: no spec change
> Rationale: I don't understand. Why is it too late to cancel it in the drop?

It is too late because there is no way to abort the D&D action at that point,
as far as I can tell.
You can only abort in by not accepting drops at all, and at *that* point, you
can not read the DataTransfer data in order to make a decision.

The only thing you can do is accept the drop, read the data, then indicate
failure some other way.

-- 
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 Friday, 19 August 2011 07:01:08 UTC