Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

UI: Do not close api key modal on pointer down outside

Marc Klingen24d5bfbe7a85
diff --git a/src/features/public-api/components/CreateApiKeyButton.tsx b/src/features/public-api/components/CreateApiKeyButton.tsx
index a3604350ea..283227b8e2 100644
--- a/src/features/public-api/components/CreateApiKeyButton.tsx
+++ b/src/features/public-api/components/CreateApiKeyButton.tsx
@@ -63,7 +63,7 @@ export function CreateApiKeyButton(props: { projectId: string }) {
Create new API keys
</Button>
</DialogTrigger>
- <DialogContent>
+ <DialogContent onPointerDownOutside={(e) => e.preventDefault()}>
<DialogHeader>
<DialogTitle>API Keys</DialogTitle>
</DialogHeader>