[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
Sun Apr 22 22:27:55 PDT 2018


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

Diogo Franco <diogomfranco at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |diogomfranco at gmail.com

--- Comment #4 from Diogo Franco <diogomfranco at gmail.com> ---
This is also causing problems when trying to rely on the `isComposing` property of `KeyboardEvent` and `InputEvent`. The Enter key that accepts the IME input will be sent with `isComposing === false`, because Safari is sending events out of order, and `keydown`/`input` are being sent after `compositionend`.

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.

-- 
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/20180423/1a876db2/attachment.html>


More information about the webkit-unassigned mailing list