From db99a4c3452c1e616fbfda5ecdacb32dd47e40d3 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Thu, 2 Jul 2026 12:53:30 +0200 Subject: [PATCH] fix(tasks): refocus add-task input after clicking + button (#8703) Clicking the + button moved focus onto the button, which unmounts once the input clears, dropping focus to . Route the click through a new onSubmitBtnClick() that refocuses the input after addTask() settles so the next task can be typed right away. The Enter-key path already retained input focus, so it is unchanged. --- .../add-task-bar/add-task-bar.component.html | 2 +- .../add-task-bar.component.spec.ts | 41 +++++++++++++++++++ .../add-task-bar/add-task-bar.component.ts | 15 +++++++ 3 files changed, 57 insertions(+), 1 deletion(-) diff --git a/src/app/features/tasks/add-task-bar/add-task-bar.component.html b/src/app/features/tasks/add-task-bar/add-task-bar.component.html index 1923b42b64..1595e39bb5 100644 --- a/src/app/features/tasks/add-task-bar/add-task-bar.component.html +++ b/src/app/features/tasks/add-task-bar/add-task-bar.component.html @@ -32,7 +32,7 @@