Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🎨 style: Prevent Layout Shift when Loading Chat

Danny Avila05bbbd5b60d6
diff --git a/client/src/components/Chat/ChatView.tsx b/client/src/components/Chat/ChatView.tsx
index 30b1510e88..9196b3f23c 100644
--- a/client/src/components/Chat/ChatView.tsx
+++ b/client/src/components/Chat/ChatView.tsx
@@ -52,8 +52,10 @@ function ChatView({ index = 0 }: { index?: number }) {
if (isLoading && conversationId !== 'new') {
content = (
- <div className="flex h-screen items-center justify-center">
- <Spinner className="text-text-primary" />
+ <div className="relative flex-1 overflow-hidden overflow-y-auto">
+ <div className="relative flex h-full items-center justify-center">
+ <Spinner className="text-text-primary" />
+ </div>
</div>
);
} else if (!isLandingPage) {