mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-13 03:15:34 +02:00
The button guard skipped every send-chord keydown coming from a button, on the assumption that the browser activates it natively. It does not for a modified Enter: in Chromium a focused <button> fires a click for a bare Enter, but only a keydown for Meta/Control+Enter. So with the default chord the dialog swallowed the key and nothing happened — most visibly when an old runtime disables the note and hands initial focus to 'Don't start yet'. Narrow the guard to the only case that really double-fires: a `send` remapped to plain Enter. The regression test now presses the chord on the focused footer button instead of the dialog root, which is what the previous test got wrong. Co-authored-by: multica-agent <github@multica.ai>