diff --git a/crates/agent-gateway/web/src/components/chat/MentionComposer.tsx b/crates/agent-gateway/web/src/components/chat/MentionComposer.tsx index c52522236..0761472eb 100644 --- a/crates/agent-gateway/web/src/components/chat/MentionComposer.tsx +++ b/crates/agent-gateway/web/src/components/chat/MentionComposer.tsx @@ -232,7 +232,7 @@ const LARGE_PASTE_LINE_THRESHOLD = 200; const LARGE_PASTE_PREVIEW_CHARS = 160; const CARET_ANCHOR_TEXT = "\u200B"; const IME_ENTER_SUPPRESS_WINDOW_MS = 300; -const IME_COMPOSITION_END_ENTER_TAIL_MS = 80; +const IME_COMPOSITION_END_ENTER_TAIL_MS = 20; // Must match the .composer-typewriter-char animation duration in index.css. const TYPEWRITER_CHAR_FADE_MS = 220; const GITHUB_ICON_SVG = diff --git a/crates/agent-gui/src/components/chat/MentionComposer.tsx b/crates/agent-gui/src/components/chat/MentionComposer.tsx index d3173f9f2..9bb7ab364 100644 --- a/crates/agent-gui/src/components/chat/MentionComposer.tsx +++ b/crates/agent-gui/src/components/chat/MentionComposer.tsx @@ -243,7 +243,7 @@ const COMPOSER_CONTEXT_MENU_HEIGHT = 154; const COMPOSER_CONTEXT_MENU_MARGIN = 12; const CARET_ANCHOR_TEXT = "\u200B"; const IME_ENTER_SUPPRESS_WINDOW_MS = 300; -const IME_COMPOSITION_END_ENTER_TAIL_MS = 80; +const IME_COMPOSITION_END_ENTER_TAIL_MS = 20; // Must match the .composer-typewriter-char animation duration in index.css. const TYPEWRITER_CHAR_FADE_MS = 220; const GITHUB_ICON_SVG =