W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2011

[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

From: <bugzilla@jessica.w3.org>
Date: Fri, 19 Aug 2011 07:01:07 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QuJ4l-0007QC-3h@jessica.w3.org>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:01 UTC