Skip to content
Snippets Groups Projects
Unverified Commit 8d644391 authored by Anton Kulyk's avatar Anton Kulyk Committed by GitHub
Browse files

Fix dashboard card hovering buttons drag behavior (#17130)

parent 100406fd
Branches
Tags
No related merge requests found
......@@ -92,6 +92,10 @@ export default class DashCard extends Component {
}));
};
preventDragging = e => {
e.stopPropagation();
};
render() {
const {
dashcard,
......@@ -177,7 +181,7 @@ export default class DashCard extends Component {
}
>
{isEditingDashboardLayout ? (
<DashboardCardActionsPanel className="drag-disabled">
<DashboardCardActionsPanel onMouseDown={this.preventDragging}>
<DashCardActionButtons
series={series}
hasError={!!errorMessage}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment