Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

add portal true to database selector (#35807)

Jordi Enric08bde133e1f9
diff --git a/apps/studio/components/ui/DatabaseSelector.tsx b/apps/studio/components/ui/DatabaseSelector.tsx
index 391f36c5951..649261b1061 100644
--- a/apps/studio/components/ui/DatabaseSelector.tsx
+++ b/apps/studio/components/ui/DatabaseSelector.tsx
@@ -108,7 +108,7 @@ const DatabaseSelector = ({
</Button>
</div>
</PopoverTrigger_Shadcn_>
- <PopoverContent_Shadcn_ className="p-0 w-64" side="bottom" align="end">
+ <PopoverContent_Shadcn_ className="p-0 w-64" side="bottom" align="end" portal={true}>
<Command_Shadcn_>
<CommandList_Shadcn_>
{additionalOptions.length > 0 && (