Skip to content
Snippets Groups Projects
Commit 6edc6f77 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

Merge pull request #2224 from metabase/fix-dash-drag-on-mobile

Disable dragging dashcards when not in edit mode on mobile.
parents 3e2f41aa cdd48c48
No related branches found
No related tags found
No related merge requests found
......@@ -242,7 +242,7 @@ export default class DashboardGrid extends Component {
isEditing={isEditing}
>
{dashboard && dashboard.ordered_cards.map(dc =>
<div key={dc.id} className="DashCard" onMouseDownCapture={this.onDashCardMouseDown}>
<div key={dc.id} className="DashCard" onMouseDownCapture={this.onDashCardMouseDown} onTouchStartCapture={this.onDashCardMouseDown}>
<DashCard
dashcard={dc}
cardData={this.props.cardData}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment