blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

Content highlight doesn't highlight deserialized content

Open BeksOmega opened this issue 1 year ago • 2 comments

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

  1. Go to the demo
  2. Add some blocks to the workspace.
  3. Refresh the page.
  4. Observe how there is no higlight.

Stack trace

N/A

Screenshots

N/A

BeksOmega avatar Jan 29 '24 17:01 BeksOmega

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)

maribethb avatar Jan 31 '24 21:01 maribethb

Another weird similar behavior on undo deletion. Reproduction steps

  1. Go to the demo
  2. Add some blocks to the workspace.
  3. Right click and delete a (or all) block.
  4. Right click on workspace and choose 'undo'
  5. Observe there is no highlight.

However if you move one of blocks a little, highlight is back.

SebCanet avatar Jun 25 '24 18:06 SebCanet