Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(quick-create): bound dialog height + scroll editor when content overflows (#1847)
Bohan Jiang7528022355f6
diff --git a/packages/views/modals/create-issue-dialog.tsx b/packages/views/modals/create-issue-dialog.tsxindex a6cbae728d..8d6db84cb0 100644--- a/packages/views/modals/create-issue-dialog.tsx+++ b/packages/views/modals/create-issue-dialog.tsx@@ -57,7 +57,10 @@ export function CreateIssueDialog({? cn("p-0 gap-0 flex flex-col overflow-hidden","!top-1/2 !left-1/2 !-translate-x-1/2 !-translate-y-1/2",- "!max-w-xl !w-full",+ // Width is capped; height is content-driven up to 80vh so a+ // pasted screenshot can't push the dialog past the viewport+ // (the inner editor area scrolls instead).+ "!max-w-xl !w-full !max-h-[80vh]",// Smooth size transition when switching modes — the manual mode// uses the same easing."!transition-all !duration-300 !ease-out",diff --git a/packages/views/modals/quick-create-issue.tsx b/packages/views/modals/quick-create-issue.tsxindex 139e9833a8..c8c667cc21 100644--- a/packages/views/modals/quick-create-issue.tsx+++ b/packages/views/modals/quick-create-issue.tsx@@ -257,9 +257,13 @@ export function AgentCreatePanel({{/* Prompt — same rich editor Advanced uses, so paste/drop images,mentions, and formatting all work. The dropZone wrapper enablesdrag-and-drop file uploads alongside paste. */}+ {/* `flex-1 min-h-0 overflow-y-auto` so the editor area absorbs the+ remaining vertical space inside the (now max-bounded) DialogContent+ and scrolls internally. Without it, pasting an image expanded the+ editor unbounded and pushed the modal past the viewport. */}<div{...dropZoneProps}- className="relative px-5 pb-3 min-h-[140px]"+ className="relative px-5 pb-3 flex-1 min-h-[140px] overflow-y-auto"><ContentEditorref={editorRef}