Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix(desktop): reveal auth dialogs during loading (#19749)

AmAzing-b405b4f2da46
diff --git a/src/spa/BootShell/AppShellSkeleton.tsx b/src/spa/BootShell/AppShellSkeleton.tsx
index fe8a90cd14d..95fae50ae47 100644
--- a/src/spa/BootShell/AppShellSkeleton.tsx
+++ b/src/spa/BootShell/AppShellSkeleton.tsx
@@ -88,6 +88,12 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
display: flex;
flex-direction: column;
+
+ /* Dialogs live inside the theme's isolated stacking context, so lowering
+ this z-index alone cannot reveal them. Yield without releasing the boot gate. */
+ body:has([role='dialog'][data-open]) & {
+ visibility: hidden;
+ }
`,
}));