Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

disable sticky scroll (#28248)

znnae5b5a6aa9b5
diff --git a/web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx b/web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx
index 691e079b4ea..2a69161bef5 100644
--- a/web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx
+++ b/web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx
@@ -161,6 +161,7 @@ const CodeEditor: FC<Props> = ({
unicodeHighlight: {
ambiguousCharacters: false,
},
+ stickyScroll: { enabled: false },
}}
onMount={handleEditorDidMount}
/>