- From: Jessica Franco <notifications@github.com>
- Date: Mon, 03 Sep 2018 22:41:02 -0700
- To: w3c/uievents <uievents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 4 September 2018 05:41:23 UTC
I ran into this again, but this time not even with `input` or `beforeinput` events, but with `keydown` events which is supposed to fire even earlier than `beforeinput` (need to watch the state of modifier keys so `input` events are not low level enough). In Safari, `compositionend` fires _even before_ the `keydown` with the <kbd>Enter</kbd> that commits the IME input is fired, which causes `isComposing` to be wrong there too. The _only_ way I have to tell if that <kbd>Enter</kbd> key was actually an input to the IME is to look at the deprecated `which` property and check if it's `229` or `13`. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/uievents/issues/202#issuecomment-418247158
Received on Tuesday, 4 September 2018 05:41:23 UTC