From 155c4d3ae844623935621af36232c86ad3584545 Mon Sep 17 00:00:00 2001 From: Mohit Puri Date: Mon, 25 Dec 2023 08:53:55 +0530 Subject: [PATCH] feat: added two finger scrolling in workflow editor --- .../components/quick-start/digest-demo-flow/DigestDemoFlow.tsx | 2 +- .../quick-start/in-app-onboarding/InAppSandboxWorkflow.tsx | 2 +- apps/web/src/components/workflow/FlowEditor.tsx | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/quick-start/digest-demo-flow/DigestDemoFlow.tsx b/apps/web/src/components/quick-start/digest-demo-flow/DigestDemoFlow.tsx index 7d62aedf473..c67340e9ef3 100644 --- a/apps/web/src/components/quick-start/digest-demo-flow/DigestDemoFlow.tsx +++ b/apps/web/src/components/quick-start/digest-demo-flow/DigestDemoFlow.tsx @@ -56,7 +56,7 @@ export function DigestDemoFlow({ zoomOnScroll={false} zoomOnPinch={false} panOnDrag={false} - panOnScroll={false} + panOnScroll preventScrolling={false} /> )} diff --git a/apps/web/src/components/quick-start/in-app-onboarding/InAppSandboxWorkflow.tsx b/apps/web/src/components/quick-start/in-app-onboarding/InAppSandboxWorkflow.tsx index 55562e41d9b..4e9e18c2c9b 100644 --- a/apps/web/src/components/quick-start/in-app-onboarding/InAppSandboxWorkflow.tsx +++ b/apps/web/src/components/quick-start/in-app-onboarding/InAppSandboxWorkflow.tsx @@ -23,7 +23,7 @@ export default function InAppSandboxWorkflow() { zoomOnScroll={false} zoomOnPinch={false} panOnDrag={false} - panOnScroll={false} + panOnScroll preventScrolling={false} > {withControls && }