Case ce-0204-hindi-ime-paste-cancels-chrome · Scenario scenario-ime-composition-paste

Hindi IME composition cancelled by paste operation in Chrome

OS: Windows 11 Device: Desktop or Laptop Any Browser: Chrome 120.0 Keyboard: Hindi (IME - Devanagari) Status: draft
composition ime paste hindi devanagari chrome windows

Phenomenon

When composing Hindi text with Devanagari IME in a contenteditable element, pasting content (Ctrl+V) cancels the active composition and loses the composed text including vowel signs and conjuncts. The pasted content may also be inserted in an unexpected position.

Reproduction example

  1. Focus the editable area.
  2. Activate Hindi IME with Devanagari script.
  3. Start composing Hindi text with vowel signs and conjuncts (e.g., “नमस्ते”).
  4. Press Ctrl+V to paste content before completing composition.

Observed behavior

  • The compositionend event fires with incomplete data
  • The composed text including combining characters is lost
  • Pasted content is inserted, possibly in wrong position
  • The sequence of paste, compositionend, and input events may be inconsistent

Expected behavior

  • Composition should complete before paste occurs, or paste should be queued
  • All combining characters should be preserved
  • Pasted content should be inserted in the correct position
  • Event sequence should be predictable and consistent

Browser Comparison

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

Notes and possible direction for workarounds

  • Prevent paste during active composition
  • Wait for composition to complete, then allow paste
  • Handle paste events carefully during composition, especially with complex character combinations
Before
Hello नम
Hindi Devanagari composition in progress (नम), includes vowel signs and combining characters
After Paste (Bug)
Hello World
Paste cancels composition, composition text lost, only pasted content remains
vs
✅ Expected
Hello नमस्तेWorld
Expected: Paste 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-0193-korean-ime-paste-cancels-firefox Windows 11 Desktop or Laptop Any Firefox 120.0 Korean (IME) draft
ce-0204-hindi-ime-paste-cancels-chrome Windows 11 Desktop or Laptop Any Chrome 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: Chrome 120.0
Keyboard: Hindi (IME - Devanagari)
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.