[Webkit-unassigned] [Bug 202418] MouseEvent altKey property only changes on dragStart

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 1 05:58:47 PDT 2020


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

stefano.delliponti at epress.it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stefano.delliponti at epress.i
                   |                            |t

--- Comment #4 from stefano.delliponti at epress.it ---
I confirm this bug also in Safari 13.1 and macOS 10.15.4.

The problem has been present in Safari for at least three years, perhaps more.
Unfortunately I don't remember the first version where it appeared, but I  am sure it was not present at the beginning. 

Both Chrome and Firefox allow to discover the values of the modifier keys after starting dragging, keeping them updated if changed later.

I think that a workaround can be to query the dataTransfer.effectAllowed, which is changed dynamically when toggling ctrl, alt or meta.

Unfortunately I didn't find a way to query for the shiftKey status.

-- 
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/20200401/147b92a6/attachment-0001.htm>


More information about the webkit-unassigned mailing list