From 432751f1ddbf59bc7a6485cc605bcf0c1a2b4173 Mon Sep 17 00:00:00 2001 From: "junjie.miao" Date: Wed, 30 Apr 2025 16:39:12 +0800 Subject: [PATCH] fix: mouse scrolling zooming can not function anymore --- web/app/components/workflow/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/index.tsx b/web/app/components/workflow/index.tsx index 64aefc4dd3..3c05f6ec55 100644 --- a/web/app/components/workflow/index.tsx +++ b/web/app/components/workflow/index.tsx @@ -316,7 +316,7 @@ export const Workflow: FC = memo(({ nodesConnectable={!nodesReadOnly} nodesFocusable={!nodesReadOnly} edgesFocusable={!nodesReadOnly} - panOnScroll + panOnScroll={false} panOnDrag={controlMode === ControlMode.Hand && !workflowReadOnly} zoomOnPinch={!workflowReadOnly} zoomOnScroll={!workflowReadOnly}