Skip to content

Pasting using the context menu opened via mouse should paste at the position of the mouse #9088

@microbit-robert

Description

@microbit-robert

Check for duplicates

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

Description

If the user pastes a block using the context menu opened via mouse, the paste position is the same as using Ctrl + V to the paste the block. This can often be on the other side of the workspace to the opened context menu. The block should probably be pasted at the position of the mouse pointer.

Reproduction steps

  1. Open the Blockly keyboard navigation plug test page
  2. Copy a block
  3. Move the mouse away from the block
  4. Open the context menu with right click
  5. Click on paste
  6. Observe the block being pasted on the workspace away from the current mouse pointer position

Stack trace

Screenshots

Screen.Recording.2025-05-23.at.13.28.47.mov

Browsers

No response

Metadata

Metadata

Assignees

Labels

injectionissue: bugDescribes why the code or behaviour is wrong

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions