The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(ui): enable portal for popover components (#35370)
Daniel Gabriel915af35334c0
diff --git a/apps/studio/components/interfaces/Database/Tables/TableList.tsx b/apps/studio/components/interfaces/Database/Tables/TableList.tsxindex 798720c3dcd..ab2bc61582b 100644--- a/apps/studio/components/interfaces/Database/Tables/TableList.tsx+++ b/apps/studio/components/interfaces/Database/Tables/TableList.tsx@@ -221,7 +221,7 @@ const TableList = ({icon={<Filter />}/></PopoverTrigger_Shadcn_>- <PopoverContent_Shadcn_ className="p-0 w-56" side="bottom" align="center">+ <PopoverContent_Shadcn_ className="p-0 w-56" side="bottom" align="center" portal={true}><div className="px-3 pt-3 pb-2 flex flex-col gap-y-2"><p className="text-xs">Show entity types</p><div className="flex flex-col">diff --git a/apps/studio/components/ui/FilterPopover.tsx b/apps/studio/components/ui/FilterPopover.tsxindex d3eed31644a..186d4c3c652 100644--- a/apps/studio/components/ui/FilterPopover.tsx+++ b/apps/studio/components/ui/FilterPopover.tsx@@ -83,7 +83,7 @@ export const FilterPopover = <T extends Record<string, any>>({</div></Button></PopoverTrigger_Shadcn_>- <PopoverContent_Shadcn_ className={cn('p-0 w-44', className)} align="start">+ <PopoverContent_Shadcn_ className={cn('p-0 w-44', className)} align="start" portal={true}><div className="border-b border-overlay bg-surface-200 rounded-t pb-1 px-3"><span className="text-xs text-foreground-light">{title ?? `Select ${name.toLowerCase()}`}diff --git a/apps/studio/components/ui/SchemaSelector.tsx b/apps/studio/components/ui/SchemaSelector.tsxindex df05ba0ceba..a8103d0d931 100644--- a/apps/studio/components/ui/SchemaSelector.tsx+++ b/apps/studio/components/ui/SchemaSelector.tsx@@ -126,6 +126,7 @@ const SchemaSelector = ({className="p-0 min-w-[200px]"side="bottom"align="start"+ portal={true}sameWidthAsTrigger><Command_Shadcn_>