Skip to content

Commit

Permalink
Merge pull request #312 from PrefectHQ/fix-cmd-f
Browse files Browse the repository at this point in the history
Don't hijack cmd + f or ctrl + f
  • Loading branch information
pleek91 authored Nov 3, 2023
2 parents 888da2e + 408e35d commit 9b2e5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RunGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
useKeyDown(['c', 'f', 'Escape'], shortcutHandler)
function shortcutHandler(event: KeyboardEvent): void {
if (eventTargetIsInput(event.target)) {
if (eventTargetIsInput(event.target) || event.metaKey || event.ctrlKey) {
return
}
Expand Down

0 comments on commit 9b2e5a1

Please sign in to comment.