Skip to content

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

modal behavior disabled for new dropdowns/comboboxes

Jonathan Summers-Muirc3888b22e4df
diff --git a/packages/ui/src/components/shadcn/ui/dropdown-menu.tsx b/packages/ui/src/components/shadcn/ui/dropdown-menu.tsx
index 93eb4f2b669..e4141e48221 100644
--- a/packages/ui/src/components/shadcn/ui/dropdown-menu.tsx
+++ b/packages/ui/src/components/shadcn/ui/dropdown-menu.tsx
@@ -153,7 +153,7 @@ const DropdownMenuSeparator = React.forwardRef<
>(({ className, ...props }, ref) => (
<DropdownMenuPrimitive.Separator
ref={ref}
- className={cn('-mx-1 my-1 h-px bg-muted', className)}
+ className={cn('-mx-1 my-1 h-px bg-border', className)}
{...props}
/>
))
diff --git a/studio/components/layouts/AppLayout/OrganizationDropdown.tsx b/studio/components/layouts/AppLayout/OrganizationDropdown.tsx
index b58fbd62956..154776243fe 100644
--- a/studio/components/layouts/AppLayout/OrganizationDropdown.tsx
+++ b/studio/components/layouts/AppLayout/OrganizationDropdown.tsx
@@ -50,7 +50,7 @@ const OrganizationDropdown = () => {
</a>
</Link>
- <Popover_Shadcn_ open={open} onOpenChange={setOpen}>
+ <Popover_Shadcn_ open={open} onOpenChange={setOpen} modal={false}>
<PopoverTrigger_Shadcn_ asChild>
<Button
type="text"
diff --git a/studio/components/layouts/AppLayout/ProjectDropdown.tsx b/studio/components/layouts/AppLayout/ProjectDropdown.tsx
index 61fbfea55b9..86ea820c2e4 100644
--- a/studio/components/layouts/AppLayout/ProjectDropdown.tsx
+++ b/studio/components/layouts/AppLayout/ProjectDropdown.tsx
@@ -131,7 +131,7 @@ const ProjectDropdown = () => {
</a>
</Link>
- <Popover_Shadcn_ open={open} onOpenChange={setOpen}>
+ <Popover_Shadcn_ open={open} onOpenChange={setOpen} modal={false}>
<PopoverTrigger_Shadcn_ asChild>
<Button
type="text"