From 49793ff686916c59123354216249d54e59f19813 Mon Sep 17 00:00:00 2001 From: mbnuqw Date: Tue, 3 Sep 2024 14:17:37 +0500 Subject: [PATCH] fix: do not auto-containerize a reopened tab b/c it'll change its index --- src/services/tabs.fg.handlers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/tabs.fg.handlers.ts b/src/services/tabs.fg.handlers.ts index 1a95531c..9f8fa745 100644 --- a/src/services/tabs.fg.handlers.ts +++ b/src/services/tabs.fg.handlers.ts @@ -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'