Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix(agent): keep agent chat sidebar scroll container shrinkable (#18252)

euvre3fbc6346d09c
diff --git a/web/src/pages/agent/chat/box.tsx b/web/src/pages/agent/chat/box.tsx
index 0ae0a42415..24a96540b8 100644
--- a/web/src/pages/agent/chat/box.tsx
+++ b/web/src/pages/agent/chat/box.tsx
@@ -97,7 +97,10 @@ function AgentChatBox() {
return (
<>
<section className="flex flex-1 flex-col px-5 min-h-0 pb-4">
- <div className="flex-1 overflow-auto" ref={messageContainerRef}>
+ <div
+ className="flex-1 overflow-auto min-h-0"
+ ref={messageContainerRef}
+ >
<div>
{!sendLoading && <div data-testid="agent-run-idle" />}
{/* <Spin spinning={sendLoading}> */}