Skip to content

[13.0.0-beta.5] Blocks inserted from the flyout in the wrong position when some block inputs are focused #9899

@microbit-robert

Description

@microbit-robert

Check for duplicates

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

Description

As an example, if the repeat times block is focused, the user presses T and inserts a command block, the command block is initially placed inside the repeat times block as expected.

If the number input of the repeat times block is focused, and the user performs the same action, the command block is unexpectedly placed on the workspace.

This is a behaviour change from the keyboard nav plugin.

It is not clear when this goes 'wrong'. For example, if you do the same thing with the repeat while block and the while dropdown has focus, the command block is placed inside the repeat while block as expected.

Reproduction steps

Priority

No response

Stack trace

Screenshots

Screen.Recording.2026-05-19.at.15.25.15.mov

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions