RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix: When large models output data rapidly, the scrollbar cannot remain at the bottom. #12701 (#12702)
balibabu05da2a587293
diff --git a/web/src/hooks/logic-hooks.ts b/web/src/hooks/logic-hooks.tsindex 25b2589ff6..3c1baccbd4 100644--- a/web/src/hooks/logic-hooks.ts+++ b/web/src/hooks/logic-hooks.ts@@ -409,7 +409,7 @@ export const useScrollToBottom = (const container = containerRef.current;container.scrollTo({top: container.scrollHeight - container.clientHeight,- behavior: 'smooth',+ behavior: 'auto',});}}, [containerRef]);diff --git a/web/src/utils/authorization-util.ts b/web/src/utils/authorization-util.tsindex 0c9118cd35..227f33b543 100644--- a/web/src/utils/authorization-util.ts+++ b/web/src/utils/authorization-util.ts@@ -22,7 +22,7 @@ const storage = {localStorage.setItem(Token, value);},setUserInfo: (value: string | Record<string, unknown>) => {- let valueStr = typeof value !== 'string' ? JSON.stringify(value) : value;+ const valueStr = typeof value !== 'string' ? JSON.stringify(value) : value;localStorage.setItem(UserInfo, valueStr);},setItems: (pairs: Record<string, string>) => {diff --git a/web/src/wrappers/auth.tsx b/web/src/wrappers/auth.tsxindex 1d827cf700..0527503322 100644--- a/web/src/wrappers/auth.tsx+++ b/web/src/wrappers/auth.tsx@@ -2,7 +2,7 @@ import { useAuth } from '@/hooks/auth-hooks';import { redirectToLogin } from '@/utils/authorization-util';import { Outlet } from 'react-router';-export default () => {+export default function AuthWrapper() {const { isLogin } = useAuth();if (isLogin === true) {return <Outlet />;@@ -11,4 +11,4 @@ export default () => {}return <></>;-};+}