I'm trying to make notifications like Google Chrome's in Electron. I've tried setting focusable: false but the window still takes focus on window.show()
I also tried setting show: true and avoiding calling window.show() but get the same effects.
I've done quite a bit of research and I can't find anything on this. Is there no way to do this besides asking the developers to implement such a feature? Thanks for any ideas.
window.show() will always focus the new Window, you have to use window.showInactive() in order to open a window that is not focused.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With