Skip to content

[13.0.0-beta.5] dragged block briefly teleports to original parent's bbox when crossing snap radius (pointer drag) #9898

@microbit-matt-hillsdon

Description

@microbit-matt-hillsdon

Check for duplicates

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

Description

Screen.Recording.2026-05-19.at.13.34.06.mov

I think this applies to all connection types.

The second drag in the video is slower and you can clearly see the teleported position.

Reproduction steps

  1. Drag blocks apart very slowly
  2. Note unexpected position for 1 frame

At higher speeds this just feels like a weird glitch.

Priority

In core/dragging/block_drag_strategy.ts updateConnectionPreview has a "no-candidate" branch that calls draggingBlock.moveDuringDrag(destination) where destination is computed from the previously-connected block's root bbox. This is intended for keyboard moves but runs for all move types causing this one time jump at the snap radius.

Stack trace

Screenshots

No response

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