[Webkit-unassigned] [Bug 202418] MouseEvent altKey property only changes on dragStart
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 1 12:12:52 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=202418
--- Comment #1 from Jay C <jay at conton.io> ---
I wrote out a long bug report when submitting this, but not seeing that text here so I will rewrite it (ugh).
Problem:
The MouseEvent's "altKey" property doesn't change when pressing/releasing the option key.
Example:
I have a set of list items that I can drag and drop, and another set of list items that can handle a drop.
in the drag start handler for the items I can drag, I have set the dataTransfer effectAllowed value to "copyMove".
in the drop Handler, dragEnter handler, and dragOver handler on the droppable list items, I am logging out the altKey property.
If I start the drag operation with the option key held down, the altKey property will always be true, no matter if I release the key or not.
If I start the drag operation without the option key held down, the altKey property will always be false, no matter what I do.
I have attached a screen recording showing Firefox vs Safari
--
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/20191001/83fb5fca/attachment-0001.html>
More information about the webkit-unassigned
mailing list