Skip to content

Commit

Permalink
fix: do not auto-containerize a reopened tab b/c it'll change its index
Browse files Browse the repository at this point in the history
  • Loading branch information
mbnuqw committed Sep 3, 2024
1 parent cd79ec2 commit 49793ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/tabs.fg.handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ function onTabCreated(nativeTab: NativeTab, attached?: boolean): void {
// Check if tab should be reopened in different container
if (
!attached &&
!reopenedTabInfo &&
tab.cookieStoreId === DEFAULT_CONTAINER_ID &&
panel &&
panel.newTabCtx !== 'none'
Expand Down

0 comments on commit 49793ff

Please sign in to comment.