The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(ui): prevent dialog from closing when clicking inside
Steven Enamakel90099ff3de4b
diff --git a/app/src/components/ui/Dialog.tsx b/app/src/components/ui/Dialog.tsxindex 9365e0f3f3..d26088e092 100644--- a/app/src/components/ui/Dialog.tsx+++ b/app/src/components/ui/Dialog.tsx@@ -51,6 +51,12 @@ export const DialogContent = ({<DialogOverlay className={overlayClassName} /><DialogPrimitive.Contentdata-slot="dialog-content"+ // `animate-dialog-in`, NOT `animate-fade-up`. This element is centered by+ // the `-translate-*-1/2` pair below, and an entrance whose keyframes set+ // `transform` would replace that pair for the animation's duration --+ // the dialog would open offset toward the bottom-right and snap into+ // place when the animation ended. `dialogIn` carries the centering in+ // its own frames; see the keyframe comment in tailwind.config.js.className={cn('fixed left-1/2 top-1/2 z-50 w-full max-w-md -translate-x-1/2 -translate-y-1/2','overflow-hidden rounded-2xl bg-surface shadow-large animate-dialog-in focus:outline-none',