Dashboard: Fixed disable draggable panels on correct breakpoint (#26636)

This commit is contained in:
Torkel Ödegaard
2020-07-29 08:27:49 +02:00
committed by GitHub
parent 0b8ad9176d
commit ef223d4143
@@ -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 (
<ReactGridLayout