Skip to content

[v13.0.0-beta.0] Move mode icon position issues #9702

@microbit-robert

Description

@microbit-robert

Check for duplicates

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

Description

#9699 addresses the more fundamental issue with inserting a block from the flyout via keyboard. However, the move mode icon is initially positioned on the top-left of the block. On the first arrow key press (even if this doesn't move the block, i.e., no constrained positions) moves the icon to the top-right of the block.

For blocks already on the workspace, the move icon's horizontal position is dependent on the widest block in the stack that is being moved which can leave it detached from the block that the move was triggered on. See screen shot below.

Reproduction steps

  1. Check out the Blockly v13 tag
  2. npm start from the relevant dir
  3. Insert a block from the flyout via keyboard and observe move mode icon position
  4. Arrow key press
  5. Observe move mode icon position

Priority

No response

Stack trace

Screenshots

Image

No response

Browsers

No response

Metadata

Metadata

Assignees

Labels

issue: bugDescribes why the code or behaviour is wrong

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions