Skip to content

Commit

Permalink
dragable fix (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
GurinderRawala authored Aug 12, 2024
1 parent a664da5 commit c60233a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/app/features/dashboard/dashgrid/DashboardGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export class Component extends PureComponent<Props> {

// 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 (
Expand Down

0 comments on commit c60233a

Please sign in to comment.