[Webkit-unassigned] [Bug 178058] dataTransfer.effectAllowed returns "all" when it's set to "copy" or "move" during dragstart

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 1 18:28:58 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=178058

Devon Govett <govett at adobe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |govett at adobe.com

--- Comment #4 from Devon Govett <govett at adobe.com> ---
This is still a problem. The behavior is slightly different on macOS and iOS:

* On macOS, effectAllowed is always "copyMove" in the dragover event regardless of what was set during dragstart, unless a modifier key is set, in which case it is filtered to either copy or move. This also means that dropEffect can never be set to "link", and holding the Control key results in effectAllowed being set to "none" rather than "link".

  For drags initiated outside the browser, e.g. in Finder, effectAllowed is always "all" rather than "copyMove", and "link" operations work as expected.

* On iOS, effectAllowed is always "all". Modifier keys have no effect.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220902/8a73d107/attachment.htm>


More information about the webkit-unassigned mailing list