diff --git a/public/app/features/canvas/runtime/scene.tsx b/public/app/features/canvas/runtime/scene.tsx index 31af4a7ac6b..3960b3aaa58 100644 --- a/public/app/features/canvas/runtime/scene.tsx +++ b/public/app/features/canvas/runtime/scene.tsx @@ -459,7 +459,13 @@ export class Scene { e.events.forEach((event) => { const targetedElement = this.findElementByTarget(event.target); if (targetedElement) { - targetedElement.setPlacementFromConstraint(); + if (targetedElement) { + targetedElement.setPlacementFromConstraint( + undefined, + undefined, + this.transformComponentRef?.current?.instance.transformState.scale + ); + } } });