Case ce-0049 · Scenario scenario-ime-ui-positioning

IME candidate window appears in wrong position

OS: macOS Ubuntu 22.04 Device: Desktop or Laptop Any Browser: Chrome 120.0 Keyboard: Japanese IME Status: draft
ime ui positioning chrome

Phenomenon

When using an IME (Input Method Editor) in Chrome on macOS, the candidate window (which shows possible character conversions) may appear in the wrong position relative to the caret. It may be offset or appear far from where the user is typing.

Reproduction example

  1. Create a contenteditable div.
  2. Switch to Japanese IME.
  3. Start typing Japanese characters.
  4. Observe the position of the IME candidate window relative to the caret.

Observed behavior

  • In Chrome on macOS, the IME candidate window may appear in the wrong position.
  • It may be offset from the caret location.
  • The positioning may be incorrect when the contenteditable is scrolled or positioned.

Expected behavior

  • The IME candidate window should appear near the caret position.
  • It should follow the caret as the user types.
  • Positioning should be accurate regardless of scroll or layout.

Playground for this case

Use the reported environment as a reference and record what happens in your environment while interacting with the editable area.

Reported environment
OS: macOS Ubuntu 22.04
Device: Desktop or Laptop Any
Browser: Chrome 120.0
Keyboard: Japanese IME
Your environment

Use this editable area to reproduce the described case.

Event log
Use this log together with the case description when filing or updating an issue.
0 events
Interact with the editable area to see events here.