electron-browser-shell
electron-browser-shell copied to clipboard
FIX: Check if tab is active before activation
When extensions.addTab() is called, it emits an event that triggers the observeTab function. This function finally calls this.onActivated(), activating the tab, even if the user did not call select on it. In this fix, I check if the tab is active before calling the this.onActivated() function. See this issue for more info.
✅ By sending this pull request, I agree to the Contributor License Agreement of this project.