-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose focus()
to Window
#1737
Comments
what is your OS info ? |
macOS 10.14.6 |
On linux: we can use On windows: there is a lot of functions to try and maybe combine them On Macos: google search reveals this |
We should check if it’s related to tauri-apps/wry#184 |
Closed by tauri-apps/wry#220 |
@wusyong What's the intended solution in tauri-apps/wry#220? Assuming it's supposed to make |
focus()
to Window
We should expose |
Related to tauri-apps/tao#22 |
Merged in tauri-apps/tao#28 |
Is your feature request related to a problem? Please describe.
Calling
win.show()
in the frontend does not bring the window (or at least not the app) to focusDescribe the solution you'd like
Electron handles this by having
win.show()
andwin.showInactive()
. I would personally preferwin.show(focus: true)
The text was updated successfully, but these errors were encountered: