Skip to content

Bad delete area detection when zoomed #10076

Description

@mikeharv

Check for duplicates

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

Description

When zooming in on the workspace, blocks that are not touching a delete area, but are near one, can be deleted. This is most evident in mutator workspaces due to their size.

Reproduction steps

  1. Zoom in a few steps on the Blockly Playground workspace.
  2. Add a controls_if block to the workspace and open its mutator.
  3. Drag a controls_if_elseif block from the mutator flyout to the stack.

An insertion marker is shown as well as delete styling on the cursor. Releasing the block causes it to be deleted as it is connected.

Priority

No response

Stack trace

Screenshots

Screen.Recording.2026-06-26.at.2.46.32.PM.mov

Browsers

No response

Metadata

Metadata

Assignees

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
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions