blockly-samples
blockly-samples copied to clipboard
Content highlight doesn't highlight deserialized content
Check for duplicates
- [X] I have searched for similar issues before opening a new one.
Component
content-highlight
Description
When you load state into the workspace, the content highlight doesn't update.
Reproduction steps
- Go to the demo
- Add some blocks to the workspace.
- Refresh the page.
- Observe how there is no higlight.
Stack trace
N/A
Screenshots
N/A
This might only be a problem in the demo if we've turned off event firing during initial loading (I haven't checked that this is the case)
Another weird similar behavior on undo deletion. Reproduction steps
- Go to the demo
- Add some blocks to the workspace.
- Right click and delete a (or all) block.
- Right click on workspace and choose 'undo'
- Observe there is no highlight.
However if you move one of blocks a little, highlight is back.