Skip to content

Minimap plugin blocks change selection state in main workspace #2512

@BenHenning

Description

@BenHenning

Check for duplicates

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

Component

Minimap plugin

Description

Clicking on blocks in the minimap plugin can result in them becoming selected in the main workspace. While this is a regression from v11 behavior, it's not altogether unwelcome. However, there is an issue with inconsistency: sometimes clicking on blocks doesn't select them, and other times multiple blocks can appear selected.

Reproduction steps

  1. Open the minimap plugin test page with the latest v12 version of Blockly (e.g. https://google.github.io/blockly-samples/plugins/workspace-minimap/test/index.html).
  2. Add some blocks.
  3. Click on the mini versions of the blocks in the minimap.
  4. Observe that clicking on the blocks sometimes will select them in the main workspace, and can even sometimes result in multiple blocks appearing selected.

Stack trace

Screenshots

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions