Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(views): prevent focus jumping to random button when closing store-opened modals
Naiyuan Qinge5688963575c
diff --git a/packages/views/modals/create-issue.tsx b/packages/views/modals/create-issue.tsxindex 4c437d7b7c..b558fe2af0 100644--- a/packages/views/modals/create-issue.tsx+++ b/packages/views/modals/create-issue.tsx@@ -149,6 +149,7 @@ export function CreateIssueModal({ onClose, data }: { onClose: () => void; data?return (<Dialog open onOpenChange={(v) => { if (!v) onClose(); }}><DialogContent+ finalFocus={false}showCloseButton={false}className={cn("p-0 gap-0 flex flex-col overflow-hidden",diff --git a/packages/views/modals/create-workspace.tsx b/packages/views/modals/create-workspace.tsxindex b6f02b3ad8..4eb33a1cbd 100644--- a/packages/views/modals/create-workspace.tsx+++ b/packages/views/modals/create-workspace.tsx@@ -83,6 +83,7 @@ export function CreateWorkspaceModal({ onClose }: { onClose: () => void }) {}}><DialogContent+ finalFocus={false}showCloseButton={false}className="inset-0 flex h-full w-full max-w-none sm:max-w-none translate-0 flex-col items-center justify-center rounded-none bg-background ring-0 shadow-none">