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: Thu, 04 Aug 2011 07:04:21 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Qoryf-0001ss-MN@jessica.w3.org>

--- 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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:16 UTC