Case ce-0189-chinese-ime-tab-cancels-firefox · Scenario scenario-ime-composition-tab-key

Chinese IME composition cancelled by Tab key in Firefox

OS: Windows 11 Device: Desktop or Laptop Any Browser: Firefox 120.0 Keyboard: Chinese (IME - Pinyin) Status: draft
composition ime tab navigation chinese firefox windows

Phenomenon

When composing Chinese text with Pinyin IME in a contenteditable element, pressing Tab cancels the composition and causes focus to navigate to the next element. The composed text may be lost or partially committed before navigation occurs.

Reproduction example

  1. Focus the editable area (e.g., in a form or table).
  2. Activate Chinese Pinyin IME.
  3. Type Pinyin text (e.g., “nihao”) and start character conversion.
  4. Press Tab to navigate to the next element.

Observed behavior

  • The compositionend event fires with incomplete data
  • Focus moves to the next element
  • Composed text may be lost or partially committed
  • The Tab key behavior conflicts with composition handling

Expected behavior

  • Composition should complete before Tab navigation occurs
  • Composed text should not be lost
  • Tab navigation should work consistently with or without active composition

Browser Comparison

  • Firefox: Tab may cancel composition and navigate focus
  • Chrome: May have different Tab key behavior during composition
  • Edge: Similar to Chrome
  • Safari: Not applicable on Windows

Notes and possible direction for workarounds

  • Prevent Tab during active composition
  • Wait for composition to complete before allowing Tab navigation
  • Handle Tab key events carefully during composition
Before
Hello nihao
Chinese Pinyin input in progress (nihao)
After Tab (Bug)
Hello
Tab key cancels composition, focus moves, composition text lost
vs
✅ Expected
Hello 你好
Expected: Tab navigation after composition completes or composition text preserved

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-0189-chinese-ime-tab-cancels-firefox Windows 11 Desktop or Laptop Any Firefox 120.0 Chinese (IME - Pinyin) draft
ce-0202-thai-ime-tab-cancels-safari macOS 14.0 Desktop or Laptop Any Safari 17.0 Thai (IME) 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: Windows 11
Device: Desktop or Laptop Any
Browser: Firefox 120.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.