diff --git a/src/components/keyboard-shortcut.tsx b/src/components/keyboard-shortcut.tsx index 269380652..22445a35c 100644 --- a/src/components/keyboard-shortcut.tsx +++ b/src/components/keyboard-shortcut.tsx @@ -17,7 +17,9 @@ export default function KeyboardShortcut({ (e) => (requireMeta ? e.ctrlKey || e.metaKey : true) && e.key === letter, (e) => { // ignore if the user is focused on an input - if (document.activeElement instanceof HTMLInputElement) return; + if (document.activeElement instanceof HTMLInputElement || document.activeElement instanceof HTMLTextAreaElement) { + return; + } if (onPress) { e.preventDefault(); diff --git a/src/views/launchpad/index.tsx b/src/views/launchpad/index.tsx index 6497def82..0b942fe05 100644 --- a/src/views/launchpad/index.tsx +++ b/src/views/launchpad/index.tsx @@ -34,6 +34,7 @@ function LaunchpadPage() {