From 28b89eefe400c483a9e1bfc57119683471c6777b Mon Sep 17 00:00:00 2001 From: Badcuban <108198679+badcuban@users.noreply.github.com> Date: Wed, 18 Nov 2026 00:52:27 -0500 Subject: [PATCH] fix(web): the add agent button stays in view with many agents in a room The model picker's row of agents scrolled sideways with its scrollbar hidden, so a fourth agent (a third on a phone) pushed the add button out of sight. The agents now wrap onto more lines and the add button keeps its place at the end of the first. --- apps/web/src/components/chat/RoomAgentsBar.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/chat/RoomAgentsBar.tsx b/apps/web/src/components/chat/RoomAgentsBar.tsx index b20b624af..dd5383064 100644 --- a/apps/web/src/components/chat/RoomAgentsBar.tsx +++ b/apps/web/src/components/chat/RoomAgentsBar.tsx @@ -82,9 +82,15 @@ export const RoomAgentsBar = memo(function RoomAgentsBar(props: { return (
-
+ {/* Pills wrap onto more lines rather than scroll: every agent stays in + view, and "+" keeps its place at the end of the first line. */} +
{agents.rows.map((row, index) => { const selected = !props.adding && row.id === agents.recipient.id; // One tab stop for the group: the picked pill, or the first while adding.