From 7ee3b9f04162ea4a8cd5afb07453c142cc51f7df Mon Sep 17 00:00:00 2001 From: Bogdan Matei Date: Fri, 7 Mar 2025 16:38:08 +0200 Subject: [PATCH] Dynamic Dashboards: Workaround for making responsive items selectable (#101794) --- .../scene/layout-responsive-grid/ResponsiveGridLayoutManager.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/dashboard-scene/scene/layout-responsive-grid/ResponsiveGridLayoutManager.tsx b/public/app/features/dashboard-scene/scene/layout-responsive-grid/ResponsiveGridLayoutManager.tsx index 3861971b535..c5f2d0dd09a 100644 --- a/public/app/features/dashboard-scene/scene/layout-responsive-grid/ResponsiveGridLayoutManager.tsx +++ b/public/app/features/dashboard-scene/scene/layout-responsive-grid/ResponsiveGridLayoutManager.tsx @@ -48,6 +48,7 @@ export class ResponsiveGridLayoutManager // @ts-ignore this.state.layout.getDragClassCancel = () => 'drag-cancel'; + this.state.layout.isDraggable = () => true; } public addPanel(vizPanel: VizPanel) {