-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
component: toolbox/flyoutissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong
Milestone
Description
Describe the bug
When a user sets the toolbox to be not visible the delete area still reports as if the toolbox is there.
To Reproduce
Steps to reproduce the behavior:
- Go to the playground
- Drag a block on to the workspace
- Run
Blockly.getMainWorkspace().getToolbox().setVisible(false) - Drag the block on the workspace to where the toolbox used to be.
- Notice how the block is deleted.
Expected behavior
There should not be a delete area where the toolbox used to be.
Screenshots
Stack Traces
Replace with error stack trace.
Additional context
Code sandbox with a temporary fix: https://codesandbox.io/s/relaxed-darkness-rnmy3?file=/src/CustomToolbox.js
Metadata
Metadata
Assignees
Labels
component: toolbox/flyoutissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong