-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Bug: Selected text not properly deleted with IME input (e.g. Japanese) on Safari (macOS) #8153
Copy link
Copy link
Closed
Description
Lexical version: 0.36.2 (also reproducible on the latest https://playground.lexical.dev )
Steps To Reproduce
- Open a Lexical editor on Safari (macOS)
- Reproducible on the latest https://playground.lexical.dev as well
- Switch to a Japanese IME (or another IME-based input method such as Chinese/Korean)
- Type some text and confirm the composition (e.g. type "あいうえお")
- Select the text using Shift+Arrow keys or Cmd+A
- Press the Delete (Backspace) key
Link to code example: https://playground.lexical.dev
The current behavior
The selected text is not properly deleted. Depending on the case, only the last character is removed, or only the first few characters are deleted, instead of the entire selection being cleared.
2026-02-19.21.37.49.mov
This issue does not occur with direct-input (non-IME) languages such as English.
The expected behavior
The selected text should be fully deleted when pressing Delete, regardless of whether the text was entered via IME composition.
Impact of fix
- This affects all users who use IME-based input languages (Japanese, Chinese, Korean, etc.) on Safari (macOS).
- Basic text editing operations (select + delete) are broken, significantly degrading the editing experience for these users.
- Safari has a notable market share on macOS, and CJK languages collectively represent a large user base.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels