Re: [w3c/uievents] Event order between "compositionend" and "input" (#202)

> How often are these events used?

Pretty often. Apart from the issues linked to this one, there are plenty of blogs of people stumbling due to this, e.g.:

- https://www.stum.de/2016/06/24/handling-ime-events-in-javascript/
- https://developer.squareup.com/blog/understanding-composition-browser-events/
- https://blog.utgw.net/entry/2021/06/29/212256

Just trying to distinguish an <kbd>Enter</kbd> keypress to commit a selection from a regular <kbd>Enter</kbd> keypress (e.g. to close a modal) is really hard in Safari. (The most reliable way being to use the deprecated `keyCode` property.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/202#issuecomment-1595559023
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/uievents/issues/202/1595559023@github.com>

Received on Saturday, 17 June 2023 01:01:46 UTC