when I open trashcan, its flyout appears and when I close the flyout by dragging a block or by (Esc) button on keyboard, it disappears but it still has effect on blocks.
when I drag blocks to trashcan flyout area it is deleted !!
The video attached demonstrates what I mean.
I use continuous-toolbox plugin.
I searched everywhere but I can't find a solution :/ . I will be so grateful if someone helped.
and I have an unexplained behavior .. when I deactivate trashcan in injection code, it still exists:
var workspace = Blockly.inject(blocklyDiv, {
plugins: {
'toolbox': ContinuousToolbox,
'flyoutsVerticalToolbox': ContinuousFlyout,
'metricsManager': ContinuousMetrics,
},
toolbox: toolbox,
media: './node_modules/blockly/media/',
scrollbars: true,
// trashcan: true,
sounds: true,
oneBasedIndex: true,
zoom: {
controls: true,
wheel: false,
startScale: 0.7,
maxScale: 3,
minScale: 0.3,
scaleSpeed: 1.2
},
renderer: "zelos",
});