From 26b0b1f78eee74a05e4c365d65e1e4017a4b69bb Mon Sep 17 00:00:00 2001 From: TheGoddessInari Date: Wed, 20 Mar 2019 18:44:19 -0700 Subject: [PATCH] Also apply workaround from 3264112 (last commit) to our notifications. --- app/ux/WebView.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/ux/WebView.js b/app/ux/WebView.js index 5b5e0940..21cbf0df 100644 --- a/app/ux/WebView.js +++ b/app/ux/WebView.js @@ -552,7 +552,10 @@ Ext.define('Rambox.ux.WebView',{ function showWindowAndActivateTab(event) { require('electron').remote.getCurrentWindow().show(); - Ext.cq1('app-main').setActiveTab(me); + const tabPanel = Ext.cq1('app-main'); + tabPanel.getActiveTab().down('component').el.dom.blur(); + tabPanel.setActiveTab(me); + webview.focus(); } function handleUpdateBadge(event) {