Skip to content

Commit f8e6cce

Browse files
Do event propogation cancelation before other work
1 parent 8f46052 commit f8e6cce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/ql-vscode/src/view/results/locations/ClickableLocation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ export function ClickableLocation({
2323
}: Props): JSX.Element {
2424
const jumpToLocationHandler = useCallback(
2525
(e: React.MouseEvent) => {
26-
jumpToLocation(loc, databaseUri);
2726
e.preventDefault();
2827
e.stopPropagation();
28+
jumpToLocation(loc, databaseUri);
2929
jumpToLocationCallback?.();
3030
},
3131
[loc, databaseUri, jumpToLocationCallback],

0 commit comments

Comments
 (0)