Skip to content

Block selection indicator partially obscured in Zelos renderer #8787

@cpcallen

Description

@cpcallen

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

There are certain circumstances when the selection highlight ends up being partially obscured by other blocks when using the Zelos renderer.
E.g.:

  • When dragging a new block from the toolbox into the middle of a stack.
  • When pasting a block into the middle of a stack. (Requires keyboard nav.)

Originally reported by @microbit-robert in RaspberryPiFoundation/blockly-keyboard-experimentation#252 (comment).

Reproduction steps

  1. In the advanced playground, set render to Zelos.
  2. Create a stack of any two statement blocks.
  3. Drag a third block between the first two
  4. Observe the selection highlight on the block you have just placed.

Screenshots

Appearance at step 4:

Image

Appearance at step 6: after selecting a different block and then the just-placed one—arguably the expected appearance at step 4:

Image

Browsers

Chrome desktop

Metadata

Metadata

Assignees

Labels

issue: bugDescribes why the code or behaviour is wrongissue: triageIssues awaiting triage by a Blockly team member

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions