diff --git a/packages/frontend-core/src/components/grid/cells/DataCell.svelte b/packages/frontend-core/src/components/grid/cells/DataCell.svelte index e9293f95b2..3e9d6b6b05 100644 --- a/packages/frontend-core/src/components/grid/cells/DataCell.svelte +++ b/packages/frontend-core/src/components/grid/cells/DataCell.svelte @@ -90,7 +90,11 @@ selectedCells.actions.startSelecting(cellId) } - const updateSelection = () => { + const updateSelection = e => { + if (e.buttons !== 1) { + selectedCells.actions.stopSelecting() + return + } if ($focusedCellId) { focusedCellId.set(null) }