[Webkit-unassigned] [Bug 165004] The event order of keydown/keyup events and composition events are wrong on macOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 2 08:13:05 PDT 2022


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

Dorothy Chen <dchen at figma.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dchen at figma.com

--- Comment #7 from Dorothy Chen <dchen at figma.com> ---
+1, this is causing problems when trying to use keyboard shortcuts that use diacritic keys which trigger composition events (e.g. ^ on an AZERTY keyboard).

> This makes comparing `keyCode === 229` the only reliable way to detect whether IME is being used or not, even though modern APIs are available, because they are giving the wrong results.

This workaround doesn't seem ideal anymore either, since event.keyCode (and event.which) are marked as deprecated.

-- 
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/20220502/629cbca6/attachment.htm>


More information about the webkit-unassigned mailing list