From a8b750497902ed1363c4aab76b822ffcacda3489 Mon Sep 17 00:00:00 2001 From: Adela Almasan <88068998+adela-almasan@users.noreply.github.com> Date: Wed, 3 Sep 2025 13:05:48 -0500 Subject: [PATCH] Canvas: Fix element selection being cleared on panel resize (#110010) --- public/app/features/canvas/runtime/scene.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/public/app/features/canvas/runtime/scene.tsx b/public/app/features/canvas/runtime/scene.tsx index ae94ac203ee..25b792e968b 100644 --- a/public/app/features/canvas/runtime/scene.tsx +++ b/public/app/features/canvas/runtime/scene.tsx @@ -226,10 +226,6 @@ export class Scene { this.height = height; this.style = { width, height }; - if (this.selecto?.getSelectedTargets().length) { - this.clearCurrentSelection(); - } - if (config.featureToggles.canvasPanelPanZoom) { this.updateConnectionsSize(); this.fitContent(this, this.zoomToContent!);