Skip to content

Blocks inserted via keyboard from a flyout should be better positioned #10072

Description

@gonfunko

Currently, when inserting blocks from a flyout, they are initially positioned at (0, 0). This is true even if the workspace is significantly offset from the origin, or if the flyout in question is right-aligned (trash, backpack, or main flyout in RTL or right toolbox position). Instead, the block should be positioned in the top corner of the visible workspace on the side where its source flyout was located.

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