Case ce-0192-chinese-ime-number-candidate-selection-safari · Scenario scenario-ime-composition-number-input

Chinese IME number keys select candidates instead of inserting numbers

OS: macOS 14.0 Device: Desktop or Laptop Any Browser: Safari 17.0 Keyboard: Chinese (IME - Pinyin) Status: draft
composition ime number-input candidate-selection chinese safari macos

Phenomenon

When using Chinese Pinyin IME in a contenteditable element, pressing number keys (1-9) during character conversion selects candidates from the conversion list instead of inserting numbers. This prevents users from inserting numbers while the candidate list is active.

Reproduction example

  1. Focus the editable area.
  2. Activate Chinese Pinyin IME.
  3. Type Pinyin text (e.g., “nihao”) and trigger character conversion (candidate list appears).
  4. Try to press a number key (e.g., “3”) to insert the number “3”.

Observed behavior

  • Number keys (1-9) select candidates from the conversion list instead of inserting numbers
  • Users cannot insert numbers while candidate list is active
  • After conversion completes, number keys work normally
  • Behavior differs from native input fields where numbers can be inserted

Expected behavior

  • Users should be able to insert numbers even when candidate list is active
  • Number keys should have a way to insert numbers (e.g., Shift+Number or different key combination)
  • Behavior should be consistent with native input fields

Browser Comparison

  • Safari: Number keys trigger candidate selection, especially on macOS
  • Chrome: Similar behavior
  • Firefox: May have different number key behavior

Notes and possible direction for workarounds

  • Prevent number key default behavior and insert numbers manually
  • Use alternative key combinations for number input during candidate selection
  • Provide UI feedback to users about number input limitations
Before
Hello nihao
Chinese Pinyin input in progress, candidate list displayed (1. 你好 2. 你号 3. 泥好...)
After Number 3 (Bug)
Hello 泥好
Number 3 key selects candidate, number insertion fails
vs
✅ Expected
Hello nihao3
Expected: Number 3 inserted or Shift+3 can input number

Browser compatibility matrix

This matrix shows which browser and OS combinations have documented cases for this scenario. The current case is highlighted. Click on a cell to view other cases.

Current case
Confirmed
Draft
No case documented

All variants (detailed table)

Complete list of all cases for this scenario with full environment details.

Case OS Device Browser Keyboard Status
ce-0191-japanese-ime-number-candidate-selection-chrome Windows 11 Desktop or Laptop Any Chrome 120.0 Japanese (IME) draft
ce-0192-chinese-ime-number-candidate-selection-safari macOS 14.0 Desktop or Laptop Any Safari 17.0 Chinese (IME - Pinyin) draft

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 14.0
Device: Desktop or Laptop Any
Browser: Safari 17.0
Keyboard: Chinese (IME - Pinyin)
Your environment
Sample HTML:
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.

Comments & Discussion

Have questions, suggestions, or want to share your experience? Join the discussion below.