mirror of
https://github.com/grafana/grafana.git
synced 2025-02-09 23:16:16 -06:00
Dashboard: Fixed disable draggable panels on correct breakpoint (#26636)
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user