-
Notifications
You must be signed in to change notification settings - Fork 963
Open
Description
I want to use ctrl+tab in my electronjs app. So it is not a browser to interrupt with tab changing shortcut. However when I'm inside a text area it doesn't fire at all. Other shortcuts without tab do. How do I bind the whole document ?
<script>
Mousetrap.bind(['command+tab', 'ctrl+tab'], function() {
alert('command tab or control tab);
// return false to prevent default browser behavior
// and stop event from bubbling
return false;
});
</script>
lynxtaa
Metadata
Metadata
Assignees
Labels
No labels