shelley/ui: fix IME character conversion triggering form submission
Philip Zeyliger
created
Prompt: In a new worktree, reset to origin/main, and fix https://github.com/boldsoftware/exe.dev/issues/71
When using an IME (Input Method Editor) for Japanese/Chinese input,
pressing Enter to confirm character conversion (e.g., hiragana to
kanji) was causing unintended form submissions.
The fix checks KeyboardEvent.isComposing before handling Enter key
events, which is the standard way to detect if an IME composition
is in progress.
Fixes boldsoftware/exe.dev#71