Skip to content

Commit 4ae826b

Browse files
committed
fix(mover): Don't heal rows when disconnecting at start of move
Modify KeyboardDragStrategy.prototype.shouldHealStack so that only stacks will be healed.
1 parent 3739758 commit 4ae826b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/keyboard_drag_strategy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,6 @@ export class KeyboardDragStrategy extends dragging.BlockDragStrategy {
326326
}
327327

328328
override shouldHealStack(e: PointerEvent | undefined): boolean {
329-
return true;
329+
return Boolean(this.block.previousConnection);
330330
}
331331
}

0 commit comments

Comments
 (0)