diff --git a/packages/blockly/core/dragging/block_drag_strategy.ts b/packages/blockly/core/dragging/block_drag_strategy.ts index ea5cadc7d16..ef16ae54348 100644 --- a/packages/blockly/core/dragging/block_drag_strategy.ts +++ b/packages/blockly/core/dragging/block_drag_strategy.ts @@ -989,7 +989,8 @@ export class BlockDragStrategy implements IDragStrategy { for (let i = start; i >= 0 && i < topBlocks.length; i += delta) { const topBlock = topBlocks[i]; for (const a of blockConnections) { - for (const b of topBlock.getConnections_(false)) { + const stackConnections = this.getAllConnections(topBlock); + for (const b of stackConnections) { if ( block.workspace.connectionChecker.canConnect(a, b, true, Infinity) ) {