- From: Tatsunori Uchino <notifications@github.com>
- Date: Fri, 04 Apr 2025 05:34:16 -0700
- To: w3c/uievents <uievents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 4 April 2025 12:34:20 UTC
tats-u created an issue (w3c/uievents#394)
https://codepen.io/tats-u/pen/VYZBEWM
The following process doesn't work in Chromium. Works in Firefox as intended. Which behavior is correct?
```js
document.addEventListener("DOMContentLoaded", () => {
textArea.addEventListener("input", (event) => {
if (event.isComposing) { // skip while IME input because it's half-baked
return;
}
// your process here
});
});
```
Reproduction:
1. Open https://codepen.io/tats-u/pen/VYZBEWM in a Chromium-based browser
2. Turn your IME on (e.g. Google Japanese Input / Microsoft Japanese Input)
3. Input some Japanese using IME
4. Press Enter to commit
- Firefox: the rendered HTML will be changed
- Chromium: HTML preview is will not be changed
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/394
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/uievents/issues/394@github.com>
Received on Friday, 4 April 2025 12:34:20 UTC