Skip to content

[v13.0.0-beta.1] Blocks inserted from the flyout are always placed on the workspace #9758

@microbit-robert

Description

@microbit-robert

Check for duplicates

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

Description

Blocks inserted from the flyout using keyboard are always placed in the top left of the workspace, regardless of where keyboard focus was (or passive focus is) on the workspace. E.g., if I am focused on a function block in the workspace, then insert a statement block from the flyout, the statement block is not placed (previewed) inside the function block.

Blocks sometimes have a connection preview, but this is coincidental and requires compatible blocks to already be positioned in the top left of the workspace where the new block from the flyout will be placed.

Please see the videos below.

Reproduction steps

Priority

No response

Stack trace

Screenshots

Coincidental connection preview:
https://github.com/user-attachments/assets/e198d38a-101d-4354-97a5-5a44c39d5009

No connection preview - block placed on workspace instead of inside function block
https://github.com/user-attachments/assets/23e476c2-1ccf-4cdd-be15-a91a85035043

Browsers

No response

Metadata

Metadata

Assignees

Labels

issue: bugDescribes why the code or behaviour is wrong

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions