Replies: 1 comment 8 replies
-
This is expected, it is a global shortcut/hotkey after all. The currently only viable alternative is to use javascript key events to listen to the key combination. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I added global shortcuts to my app recently. Now I found the following unexpected behavior:
Example:
I open my app which registers ctrl+n
I open my webbrowser
I press ctrl+N
This should create a new window of my browser
The browser will not react to the shortcut anymore
Instead, the ctrl+n event is emitted in my app
Is this the expected behavior? If yes, how could I make sure to get the events only if my app is the primary window?
Best reards,
Manuel
Beta Was this translation helpful? Give feedback.
All reactions