You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The electron method app.hide() hides all application windows and sends focus back to the previously-focused application. However, this is only available for macOS. On Windows, we must use BrowserWindow.hide() which only hides the window in question. Even if we only have a single window open, calling this method on it does not send focus to another application. Focus will be lost and you have to manually alt+tab or click into your desired application.
Only solution in sight is a native Node module that can get the focused window when the modal is being opened, and then refocus it once the modal is closed.
The text was updated successfully, but these errors were encountered:
The electron method
app.hide()
hides all application windows and sends focus back to the previously-focused application. However, this is only available for macOS. On Windows, we must useBrowserWindow.hide()
which only hides the window in question. Even if we only have a single window open, calling this method on it does not send focus to another application. Focus will be lost and you have to manuallyalt+tab
or click into your desired application.Only solution in sight is a native Node module that can get the focused window when the modal is being opened, and then refocus it once the modal is closed.
The text was updated successfully, but these errors were encountered: