tangweiyuan 8c679db1dc fix(webchat): slash menu clipped by overflow and missing keyboard scroll
The slash command menu renders with position: absolute; bottom: 100%
inside .agent-chat__input which has overflow: hidden, causing the
popup to be completely invisible. Introduce .agent-chat__input-wrap
as a positioning parent so the menu escapes the clipped container.

Also add scrollIntoView({ block: nearest }) after ArrowUp/ArrowDown
navigation so the active item auto-scrolls into view, scoped to the
component .agent-chat__input-wrap to avoid cross-panel matches.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 11:49:24 +08:00
..