diff --git a/frontend/src/components/gantt/GanttChart.vue b/frontend/src/components/gantt/GanttChart.vue index 989bd400a..f75753428 100644 --- a/frontend/src/components/gantt/GanttChart.vue +++ b/frontend/src/components/gantt/GanttChart.vue @@ -730,7 +730,7 @@ function focusTaskBar(rowId: string) { setTimeout(() => { const taskBarElement = document.querySelector(`[data-row-id="${rowId}"] [role="slider"]`) as HTMLElement if (taskBarElement) { - taskBarElement.focus() + taskBarElement.focus({preventScroll: true}) } }, 0) }