diff --git a/frontend/src/components/diff/CommentWidgetLine.tsx b/frontend/src/components/diff/CommentWidgetLine.tsx
index 7e42a8be..7e521914 100644
--- a/frontend/src/components/diff/CommentWidgetLine.tsx
+++ b/frontend/src/components/diff/CommentWidgetLine.tsx
@@ -83,6 +83,7 @@ export function CommentWidgetLine({
className="w-full bg-primary text-primary-foreground text-sm font-mono min-h-[60px]"
projectId={projectId}
onCmdEnter={handleSave}
+ autoFocus
/>