diff --git a/src/components/canvas/blocks/controllers/BlockController.ts b/src/components/canvas/blocks/controllers/BlockController.ts index 8b5558b..ec8b0d8 100644 --- a/src/components/canvas/blocks/controllers/BlockController.ts +++ b/src/components/canvas/blocks/controllers/BlockController.ts @@ -33,11 +33,7 @@ export class BlockController block.getViewComponent()); const allowChangeBlockGeometry = isAllowChangeBlockGeometry( block.getConfigFlag("canChangeBlockGeometry") as ECanChangeBlockGeometry, blockState.selected @@ -45,6 +41,12 @@ export class BlockController block.getViewComponent()); + dragListener(block.context.ownerDocument) .on(EVENTS.DRAG_START, (_event: MouseEvent) => { dispatchEvents(selectedBlocksComponents, createCustomDragEvent(EVENTS.DRAG_START, _event));