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
This normally defaults to true for NSPanel windows, but it looks like the BrowserWindow panel type is still an NSWindow and so does not get this behavior.
Alternatives Considered
You could show the panel on the app's activate event, but there is no corresponding deactivate event. You could listen to every window's blur event, but this can become clunky especially when the functionality exists natively.
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Problem Description
There is currently no option to hide a window when its app is not active. This is important for, for example, utility or info panels.
Proposed Solution
Expose the hidesOnDeactivate window option (https://developer.apple.com/documentation/appkit/nswindow/1419777-hidesondeactivate)
This normally defaults to true for NSPanel windows, but it looks like the BrowserWindow panel type is still an NSWindow and so does not get this behavior.
Alternatives Considered
You could show the panel on the app's activate event, but there is no corresponding deactivate event. You could listen to every window's blur event, but this can become clunky especially when the functionality exists natively.
Additional Information
No response
The text was updated successfully, but these errors were encountered: