From 88ab679e5660f33a4387a045f13c04c24ffb2741 Mon Sep 17 00:00:00 2001 From: Gurinder Singh Date: Mon, 12 Aug 2024 13:26:11 -0400 Subject: [PATCH] dragable fix --- public/app/features/dashboard/dashgrid/DashboardGrid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard/dashgrid/DashboardGrid.tsx b/public/app/features/dashboard/dashgrid/DashboardGrid.tsx index 6aea9b4ac2fa..252381314fee 100644 --- a/public/app/features/dashboard/dashgrid/DashboardGrid.tsx +++ b/public/app/features/dashboard/dashgrid/DashboardGrid.tsx @@ -241,7 +241,7 @@ export class Component extends PureComponent { // Disable draggable if mobile device, solving an issue with unintentionally // moving panels. https://github.com/grafana/grafana/issues/18497 - const isLg = width > config.theme2.breakpoints.values.md; + const isLg = width <= config.theme2.breakpoints.values.md; const draggable = isLg ? false : isEditable; return (