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

👨‍🔧 fix: recognize command+click on macos (#2786)

Elijah Shackelfordaf8bcb08d65d
diff --git a/client/src/components/Conversations/Convo.tsx b/client/src/components/Conversations/Convo.tsx
index efb1cb95c7..b9a9a4d3c9 100644
--- a/client/src/components/Conversations/Convo.tsx
+++ b/client/src/components/Conversations/Convo.tsx
@@ -37,7 +37,7 @@ export default function Conversation({ conversation, retainView, toggleNav, isLa
const [isPopoverActive, setIsPopoverActive] = useState(false);
const clickHandler = async (event: React.MouseEvent<HTMLAnchorElement>) => {
- if (event.button === 0 && event.ctrlKey) {
+ if (event.button === 0 && (event.ctrlKey || event.metaKey)) {
toggleNav();
return;
}
diff --git a/client/src/components/Nav/NewChat.tsx b/client/src/components/Nav/NewChat.tsx
index 19e99a6620..f0d74cc7b6 100644
--- a/client/src/components/Nav/NewChat.tsx
+++ b/client/src/components/Nav/NewChat.tsx
@@ -71,7 +71,7 @@ export default function NewChat({
const { conversation } = store.useCreateConversationAtom(index);
const clickHandler = (event: React.MouseEvent<HTMLAnchorElement>) => {
- if (event.button === 0 && !event.ctrlKey) {
+ if (event.button === 0 && !(event.ctrlKey || event.metaKey)) {
event.preventDefault();
newConvo();
navigate('/c/new');