[Bug] Korean (Hangul) IME input broken in chat/agent input field — duplicate chars & ghost text

Environment

  • OS: Windows 10 (10.0.19045)
  • Antigravity IDE version: [2.0.4]
  • IME: Microsoft Korean IME

Description
When typing Korean (Hangul) in the Agent chat input field, two issues occur:

  1. Spacing is inserted incorrectly between syllable blocks
  2. Deleted characters leave ghost text on screen

The Monaco editor area works fine — this is isolated to the chat/agent input
component.

Steps to Reproduce

  1. Open Agent chat input field
  2. Switch to Korean IME (한글 mode)
  3. Type any Korean sentence
  4. Observe duplicate/ghost characters

Expected: Clean Korean text composition
Actual: Misaligned spacing, deleted characters remain visible

Workaround
Pressing Space before typing Korean reduces (but doesn’t eliminate) the issue.

This appears to be an IME compositionend event handling bug — the input is processed
before composition completes, causing double-write.

Hi @jungwonunius,

We haven’t been able to reproduce this unexpected behavior based on your description, as the text input currently appears to be working as expected on our end. As a quick first troubleshooting step, could you please try updating to the latest version of the Antigravity IDE (2.1.1) to see if that resolves the issue?

If that does not fix it, we would like to investigate this further. Could you please provide a few additional details?

  • Sample Korean phrases that trigger this error
  • Screenshots or a screen recording of the observed issue