Skip to content

Commit

Permalink
Stop propagation on mouse down
Browse files Browse the repository at this point in the history
  • Loading branch information
dvargas92495 committed Apr 3, 2022
1 parent bb49aca commit 4ce192f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/ResultsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,12 @@ const ResultView = ({
e.stopPropagation();
}
}}
onMouseDown={e => {
if (e.ctrlKey) {
e.preventDefault();
e.stopPropagation();
}
}}
>
{cell(k)}
</a>
Expand Down

0 comments on commit 4ce192f

Please sign in to comment.