From d696c396221669ac29fc8c0562c0a8f3f67f6b49 Mon Sep 17 00:00:00 2001 From: yiling Date: Mon, 3 Aug 2026 14:47:43 +0800 Subject: [PATCH] fix(webui): stop mention popup section headers from sticking and overlapping Both Agents and Members header buttons had 'sticky top-0', so while scrolling the 256px mention list the Agents header stayed pinned and the Members header snapped to the same top position, covering it exactly. Remove 'sticky top-0' so headers scroll away naturally with their sections. --- packages/webui/components/chat/message-input.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webui/components/chat/message-input.tsx b/packages/webui/components/chat/message-input.tsx index a3318ae5..a7ae3992 100644 --- a/packages/webui/components/chat/message-input.tsx +++ b/packages/webui/components/chat/message-input.tsx @@ -552,7 +552,7 @@ export const ChatInput = React.forwardRef( e.stopPropagation() setCollapsedSections((prev) => ({ ...prev, bots: !prev.bots })) }} - className="w-full text-xs font-semibold text-muted-foreground px-3 py-2 bg-muted/50 border-b border-border sticky top-0 flex items-center justify-between hover:bg-muted transition-colors" + className="w-full text-xs font-semibold text-muted-foreground px-3 py-2 bg-muted/50 border-b border-border flex items-center justify-between hover:bg-muted transition-colors" > Agents ( e.stopPropagation() setCollapsedSections((prev) => ({ ...prev, users: !prev.users })) }} - className="w-full text-xs font-semibold text-muted-foreground px-3 py-2 bg-muted/50 border-b border-border sticky top-0 flex items-center justify-between hover:bg-muted transition-colors" + className="w-full text-xs font-semibold text-muted-foreground px-3 py-2 bg-muted/50 border-b border-border flex items-center justify-between hover:bg-muted transition-colors" > Members