Skip to content

[v13.0.0-beta.1] The clean up workspace function can run in the flyout #9760

@microbit-robert

Description

@microbit-robert

Check for duplicates

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

Description

If you press 'C' in the flyout, the clean up workspace function runs in the flyout. It's not so bad in the Blockly playground as the clean up function puts the blocks in a vertical layout, they are simply shifted a little to the left and up. The result in MakeCode with a horizontal clean up layout is far more amusing.

Reproduction steps

  1. Use keyboard controls to open and navigate into a flyout
  2. Press 'C'
  3. Watch the blocks move

Priority

No response

Stack trace

Screenshots

Video showing far more amusing MakeCode version (we use 'F' to "format code"):
https://github.com/user-attachments/assets/abcc7f3f-fa42-4e94-a8ac-e15a1ee6ccde

Browsers

No response

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

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions