prevent edgeScroll

This commit is contained in:
Mario Pesch 2021-08-20 10:42:37 +02:00
parent c23b74ce8d
commit 2a9eecd76b

View File

@ -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),