Skip to content
Snippets Groups Projects
Commit baf86ab2 authored by DD's avatar DD
Browse files

Don't prevent default on keyboard events

parent c031e2d2
No related branches found
No related tags found
No related merge requests found
......@@ -52,11 +52,6 @@ const vmListenerHOC = function (WrappedComponent) {
keyCode: e.keyCode,
isDown: true
});
// Don't stop browser keyboard shortcuts
if (e.metaKey || e.altKey || e.ctrlKey) return;
e.preventDefault();
}
handleKeyUp (e) {
// Always capture up events,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment