From ef223d4143440d5d19838dcbe9fa4fe13d7f3234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 29 Jul 2020 08:27:49 +0200 Subject: [PATCH] Dashboard: Fixed disable draggable panels on correct breakpoint (#26636) --- public/app/features/dashboard/dashgrid/DashboardGrid.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/app/features/dashboard/dashgrid/DashboardGrid.tsx b/public/app/features/dashboard/dashgrid/DashboardGrid.tsx index 894fcbc7c23..c1738ec5088 100644 --- a/public/app/features/dashboard/dashgrid/DashboardGrid.tsx +++ b/public/app/features/dashboard/dashgrid/DashboardGrid.tsx @@ -64,8 +64,9 @@ function GridWrapper({ /* Disable draggable if mobile device, solving an issue with unintentionally moving panels. https://github.com/grafana/grafana/issues/18497 + theme.breakpoints.md = 769 */ - const draggable = width <= 420 ? false : isDraggable; + const draggable = width <= 769 ? false : isDraggable; return (