diff --git a/hotkey.js b/hotkey.js index b7bbc51..e50dc79 100644 --- a/hotkey.js +++ b/hotkey.js @@ -106,6 +106,8 @@ export function hotkeyKeyUX(transformers = []) { } let active = findHotKey(event, window, transformers) if (!active) return + // Prevent default browser behavior + event.preventDefault() if ( active.tagName === 'TEXTAREA' || (active.tagName === 'INPUT' && !CLICK_INPUTS[active.type])