From 4b80a5e5859313e5610e43a6ff23f5b67e352c1f Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 23 Mar 2026 20:16:17 +0000 Subject: [PATCH] Fix OAuth account switcher blank screen fallback height Co-authored-by: Ray Jacobson --- .../nav/desktop/AccountSwitcher/AccountListContent.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/web/src/components/nav/desktop/AccountSwitcher/AccountListContent.tsx b/packages/web/src/components/nav/desktop/AccountSwitcher/AccountListContent.tsx index 47efdb029b2..33e3754989b 100644 --- a/packages/web/src/components/nav/desktop/AccountSwitcher/AccountListContent.tsx +++ b/packages/web/src/components/nav/desktop/AccountSwitcher/AccountListContent.tsx @@ -63,7 +63,10 @@ export const AccountListContent = ({ if (mainContentRef.current) { const { height } = mainContentRef.current.getBoundingClientRect() setContentHeight(height) + return } + // OAuth routes render outside WebPlayer main content, so fall back to viewport height. + setContentHeight(window.innerHeight) }, [mainContentRef]) const onUserSelected = useCallback(