diff --git a/js/components/Keyboard.tsx b/js/components/Keyboard.tsx index 4b38861..98aafcc 100644 --- a/js/components/Keyboard.tsx +++ b/js/components/Keyboard.tsx @@ -118,9 +118,7 @@ export const Keyboard = ({ apple2, e }: KeyboardProps) => { if (document.activeElement && document.activeElement !== document.body) { return; } - if (event.key === ' ') { - event.preventDefault(); - } + event.preventDefault(); const key = mapKeyEvent(event, active.includes('LOCK')); if (key !== 0xff) { // CTRL-SHIFT-DELETE for reset