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
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🪁 fix: Keep Tool Flyouts in View (#15404)
alexsr17b0b14515943
diff --git a/client/src/components/Chat/Input/ArtifactsSubMenu.tsx b/client/src/components/Chat/Input/ArtifactsSubMenu.tsxindex 2166cb669a..5ba64de6ce 100644--- a/client/src/components/Chat/Input/ArtifactsSubMenu.tsx+++ b/client/src/components/Chat/Input/ArtifactsSubMenu.tsx@@ -89,8 +89,11 @@ const ArtifactsSubMenu = React.forwardRef<HTMLButtonElement, ArtifactsSubMenuPro<Ariakit.Menuportal={true}unmountOnHide={true}+ gutter={12}+ shift={24}+ flip="left bottom-end top-end"className={cn(- 'animate-popover-left z-40 ml-3 mt-6 flex min-w-[250px] flex-col rounded-xl',+ 'animate-popover-left z-40 flex min-w-[min(250px,calc(100vw-1rem))] max-w-[calc(100vw-1rem)] flex-col rounded-xl','border border-border-light bg-surface-secondary shadow-lg',)}>diff --git a/client/src/components/Chat/Input/MCPSubMenu.tsx b/client/src/components/Chat/Input/MCPSubMenu.tsxindex c66a6d9df2..9a53386567 100644--- a/client/src/components/Chat/Input/MCPSubMenu.tsx+++ b/client/src/components/Chat/Input/MCPSubMenu.tsx@@ -89,9 +89,11 @@ const MCPSubMenu = React.forwardRef<HTMLButtonElement, MCPSubMenuProps>(<Ariakit.Menuportal={true}unmountOnHide={true}+ gutter={12}+ flip="left bottom-end top-end"aria-label={localize('com_ui_mcp_servers')}className={cn(- 'animate-popover-left z-40 ml-3 flex min-w-[260px] max-w-[320px] flex-col rounded-xl',+ 'animate-popover-left z-40 flex min-w-[min(260px,calc(100vw-1rem))] max-w-[min(320px,calc(100vw-1rem))] flex-col rounded-xl','border border-border-light bg-presentation p-1.5 shadow-lg',)}>