From 4ce192f1887eb2e974856ce10975bcc43da48a80 Mon Sep 17 00:00:00 2001 From: David Vargas Date: Sun, 3 Apr 2022 18:31:59 -0400 Subject: [PATCH] Stop propagation on mouse down --- src/components/ResultsView.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/ResultsView.tsx b/src/components/ResultsView.tsx index aeed7a5e..2423a75e 100644 --- a/src/components/ResultsView.tsx +++ b/src/components/ResultsView.tsx @@ -288,6 +288,12 @@ const ResultView = ({ e.stopPropagation(); } }} + onMouseDown={e => { + if (e.ctrlKey) { + e.preventDefault(); + e.stopPropagation(); + } + }} > {cell(k)}