Skip to content

Deleting blocks via dragging does not work anymore when zoom isn't on default #10095

Description

@Ricotaur

Check for duplicates

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

Description

Whenever the zoom is on the default value I can delete blocks by dragging them into the trashcan or the toolbox.

But when I zoom in or out to any extent, dragging the block on either the toolbox or the trashcan, it doesn't gets deleted. It just drops back onto the workspace.
The trashcan opening animation doesn't show as well in that state but the cursor still changes to the red cross (shown in the screenshot below).

This bug didn't appear in the v12 Versions but did happen in 3.0.0 and 3.0.1 - at least on my side

Reproduction steps

  1. create a workspace with zoom capabilities
  2. zoom in or out
  3. try to delete a block by dragging it onto the trashcan or toolbox

Priority

often occurs in the workflow

Stack trace

No error messages appearing

Screenshots

Image

Browsers

Appeared in firefox and chrome, likely universal

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

status: triageIssues awaiting triage by a Blockly team member

Type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions