diff --git a/packages/features/ee/workflows/pages/workflow.tsx b/packages/features/ee/workflows/pages/workflow.tsx index 08efe2b0e4..02610b37fe 100644 --- a/packages/features/ee/workflows/pages/workflow.tsx +++ b/packages/features/ee/workflows/pages/workflow.tsx @@ -109,6 +109,15 @@ function WorkflowPage({ workflow: workflowId }: PageProps) { const isPending = isPendingWorkflow || isPendingEventTypes; + useEffect(() => { + requestAnimationFrame(() => { + window.scrollTo({ + top: 0, + behavior: "smooth", + }); + }); + }, [isPending]); + useEffect(() => { if (!isPending) { setFormData(workflow);