diff --git a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue index 9a882e9731..b2e95ac1e7 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue @@ -513,8 +513,13 @@ const handleDbClick = () => { } } +const hasChartMouseEvent = () => { + const chartContainer = document.getElementById(`container-canvas-${element.value.id}-common`) + return chartContainer && window.getComputedStyle(chartContainer).cursor !== 'default' +} + const handleInnerMouseDownOnShape = e => { - if (!canvasActive.value) { + if (!canvasActive.value || hasChartMouseEvent()) { return } batchSelected(e)