From 86cfd302d190d4c4b90d54777b2bfb8132662f4d Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Thu, 4 Apr 2019 20:10:05 -0300 Subject: [PATCH] Temp fix missing cursor after upgrade to electron 3.x + --- app/ux/WebView.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/ux/WebView.js b/app/ux/WebView.js index d5ca7f66..7dd69885 100644 --- a/app/ux/WebView.js +++ b/app/ux/WebView.js @@ -517,7 +517,11 @@ Ext.define('Rambox.ux.WebView',{ function showWindowAndActivateTab(event) { require('electron').remote.getCurrentWindow().show(); - Ext.cq1('app-main').setActiveTab(me); + var tabPanel = Ext.cq1('app-main'); + // Temp fix missing cursor after upgrade to electron 3.x + + tabPanel.getActiveTab().getWebView().blur(); + tabPanel.setActiveTab(me); + tabPanel.getActiveTab().getWebView().focus(); } });