Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
fix(webview): invisible input cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
herteleo committed Jun 5, 2019
1 parent 78df3af commit 966f8b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/TabWebview.vue
Expand Up @@ -111,6 +111,10 @@ export default {
});
this.webview.addEventListener('dom-ready', (view) => {
// Remove this once https://github.com/electron/electron/issues/14474 is fixed
this.webview.blur();
this.webview.focus();
if ('customCss' in this.item) {
view.target.insertCSS(this.item.customCss);
}
Expand Down

0 comments on commit 966f8b6

Please sign in to comment.