Case ce-0184-thai-ime-space-ignored-firefox · Scenario scenario-space-during-composition

Thai IME Space key ignored during composition

OS: Windows 11 Device: Desktop or Laptop Any Browser: Firefox 120.0 Keyboard: Thai (IME) Status: draft
composition ime space thai firefox windows

Phenomenon

While composing Thai text with IME in a contenteditable element, pressing the Space key may be ignored or may commit the composition unexpectedly. This behavior differs from native text controls and can affect word boundary detection.

Reproduction example

  1. Focus the editable area.
  2. Activate Thai IME.
  3. Start composing Thai text with tone marks and vowel marks.
  4. Press Space one or more times during composition.

Observed behavior

  • The Space key sometimes does not insert a visible space
  • In some sequences, the composition is committed and a space is inserted, but the order of events differs from native controls
  • Tone marks or vowel marks may be affected by Space key presses
  • Word boundaries may not be detected correctly

Expected behavior

  • Space behaves consistently across contenteditable and native text inputs
  • Space should insert reliably during or after composition
  • Word boundaries should be detected correctly

Browser Comparison

  • Firefox: May have more issues with Space key during Thai composition
  • Chrome: Generally better support
  • Edge: Similar to Chrome
  • Safari: Not applicable on Windows

Notes and possible direction for workarounds

  • Monitor composition state to handle Space key appropriately
  • Consider alternative methods for word boundary detection
  • Handle Space key events carefully during active composition with combining characters
Before
Hello สวัส
Thai composition in progress (สวัส), includes tone marks and vowel marks
After Space (Bug)
Hello สวัส
Space key ignored or composition unexpectedly committed
vs
✅ Expected
Hello สวัส
Expected: Space key inserts space or commits composition

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-0010-space-lost-during-composition Windows 11 Desktop or Laptop Any Edge 120.0 Korean (IME) draft
ce-0183-japanese-ime-space-conversion-chrome Windows 11 Desktop or Laptop Any Chrome 120.0 Japanese (IME) draft
ce-0184-thai-ime-space-ignored-firefox Windows 11 Desktop or Laptop Any Firefox 120.0 Thai (IME) draft
ce-0197-arabic-ime-space-ignored-chrome Windows 11 Desktop or Laptop Any Chrome 120.0 Arabic (IME) draft
ce-0198-hindi-ime-space-ignored-firefox Windows 11 Desktop or Laptop Any Firefox 120.0 Hindi (IME - Devanagari) 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: Thai (IME)
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.