summaryrefslogtreecommitdiff
path: root/frontend/src/tabs-hook.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/tabs-hook.tsx')
-rw-r--r--frontend/src/tabs-hook.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/tabs-hook.tsx b/frontend/src/tabs-hook.tsx
index 56ff8f10..c6d889cb 100644
--- a/frontend/src/tabs-hook.tsx
+++ b/frontend/src/tabs-hook.tsx
@@ -40,7 +40,8 @@ class TabsHook extends Logger {
return null;
}
if (
- typeof currentNode?.memoizedProps?.visible == 'boolean' &&
+ (typeof currentNode?.memoizedProps?.visible == 'boolean' ||
+ typeof currentNode?.memoizedProps?.active == 'boolean') &&
currentNode?.type?.toString()?.includes('QuickAccessMenuBrowserView')
) {
this.log(`QAM root was found in ${iters} recursion cycles`);