Re: [w3c/uievents] Clarify `keypress` event handling for keys that map to non-BMP Unicode symbols (Issue #346)

I think that it's not good approach to align to OS behavior. I guess that most web developers do not check/test key input behavior in all major platforms per browser. Therefore, inconsistent behavior between OSes may make end users inconvenient.

`keypress` shouldn't be used for text input handling in new web apps. Therefore, the existing web apps using `keypress` events for the purpose may be not maintained. If so, fixing incompatible behavior may cause breaking some of them.

On the other hand, I don't know keyboard layouts which have a key to input a non-BMP character. Therefore, this issue may appear only in specific environments. (Note that like Emoji palette in each OS, browsers do not handle them as a key sequence, therefore, this is really a special case for most users.)

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

Message ID: <w3c/uievents/issues/346/1563670301@github.com>

Received on Friday, 26 May 2023 00:46:21 UTC