Skip to content

Commit 21ff2e0

Browse files
committed
fix: highlighted tab not active on Firefox
1 parent d892bd2 commit 21ff2e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/popup/components/Header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const openAppPage = async () => {
2121
// If there are non-highlighted app page tab, jump to it
2222
const tabId2Jump = tabs.find(tab => !!tab.url?.startsWith(appPageUrl) && !tab.highlighted)?.id
2323
if (tabId2Jump) {
24-
await updateTab(tabId2Jump, { highlighted: true })
24+
await updateTab(tabId2Jump, { highlighted: true, active: true })
2525
return
2626
}
2727
} catch (ignored) {

0 commit comments

Comments
 (0)