Case ce-0190-korean-ime-escape-cancels-edge · Scenario scenario-ime-composition-escape-key

Korean IME composition cancelled by Escape key in Edge

OS: Windows 11 Device: Desktop or Laptop Any Browser: Edge 120.0 Keyboard: Korean (IME) Status: draft
composition ime escape korean edge windows

Phenomenon

When composing Korean text with IME in a contenteditable element, pressing Escape cancels the composition and loses the composed text. This can interfere with UI interactions that use Escape for cancellation or closing dialogs.

Reproduction example

  1. Focus the editable area (e.g., in a modal dialog or dropdown).
  2. Activate Korean IME.
  3. Start composing Korean text (e.g., type “한글”).
  4. Press Escape to close the dialog or cancel an action.

Observed behavior

  • The compositionend event fires with incomplete data
  • The composed text is lost
  • Escape may trigger both composition cancellation and other UI actions
  • No recovery mechanism for lost composition

Expected behavior

  • Composition should be handled gracefully when Escape is pressed
  • Composed text should not be lost
  • Escape key behavior should be consistent and predictable

Browser Comparison

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

Notes and possible direction for workarounds

  • Prevent Escape during active composition if composition preservation is critical
  • Consider committing composition before allowing Escape
  • Handle Escape key events carefully during composition, especially in modal contexts
Before
Hello 한글
Korean composition in progress
After Escape (Bug)
Hello
Escape key cancels composition, composition text lost
vs
✅ Expected
Hello 한글
Expected: Composition handled gracefully or 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-0190-korean-ime-escape-cancels-edge Windows 11 Desktop or Laptop Any Edge 120.0 Korean (IME) draft
ce-0203-arabic-ime-escape-cancels-firefox Windows 11 Desktop or Laptop Any Firefox 120.0 Arabic (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: Edge 120.0
Keyboard: Korean (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.