Verified Commit 1324c264 authored by azubieta's avatar azubieta
Browse files

workaround for input cursor invisible after navigation in webview

parent 49dbfa84
...@@ -102,6 +102,11 @@ export default class WebviewComponent extends BaseComponent { ...@@ -102,6 +102,11 @@ export default class WebviewComponent extends BaseComponent {
this._webview.addEventListener('did-stop-loading', () => { this._webview.addEventListener('did-stop-loading', () => {
this.dispatch('webview_loading', {isLoading: false}); this.dispatch('webview_loading', {isLoading: false});
// workaround for Input cursor invisible after navigation in webview
// details at https://github.com/electron/electron/issues/14474
this._webview.blur();
this._webview.focus();
}); });
this._webview.addEventListener('dom-ready', () => { this._webview.addEventListener('dom-ready', () => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment