diff --git a/src/components/workspace.tsx b/src/components/workspace.tsx index 845a3d9..ab7c8c4 100644 --- a/src/components/workspace.tsx +++ b/src/components/workspace.tsx @@ -117,6 +117,9 @@ export const Workspace: FC = () => { ], keysRef, (e, key) => { + if (e.target instanceof HTMLInputElement || e.target instanceof HTMLTextAreaElement) { + return; + } e.preventDefault(); e.stopImmediatePropagation(); e.stopPropagation();