From 2a9eecd76bbcd99e691add6828f0939c2790852e Mon Sep 17 00:00:00 2001 From: Mario Pesch Date: Fri, 20 Aug 2021 10:42:37 +0200 Subject: [PATCH] prevent edgeScroll --- src/components/Blockly/BlocklyComponent.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Blockly/BlocklyComponent.jsx b/src/components/Blockly/BlocklyComponent.jsx index 2f8a6df..20c0795 100644 --- a/src/components/Blockly/BlocklyComponent.jsx +++ b/src/components/Blockly/BlocklyComponent.jsx @@ -57,7 +57,7 @@ class BlocklyComponent extends React.Component { this.setState({ workspace: this.primaryWorkspace }); const plugin = new ScrollOptions(this.workspace); - plugin.init({ enableWheelScroll: true, enableEdgeScroll: true }); + plugin.init({ enableWheelScroll: true, enableEdgeScroll: false }); if (initialXml) { Blockly.Xml.domToWorkspace( Blockly.Xml.textToDom(initialXml),