diff --git a/index.js b/index.js index 0b0f7f4..0092357 100644 --- a/index.js +++ b/index.js @@ -219,6 +219,7 @@ class Tab extends EventEmitter { TabGroupPrivate.setActiveTab.bind(this.tabGroup)(this); this.tab.classList.add("active"); this.webview.classList.add("visible"); + this.webview.focus(); this.emit("active", this); return this; }