diff --git a/apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx b/apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx index 03919ee7c35..78ac5b91c6d 100644 --- a/apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx +++ b/apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx @@ -367,6 +367,7 @@ export const CreateHookSheet = ({ > { > { render={({ field }) => ( void onSelectCreateSchema?: () => void + portal?: boolean } const SchemaSelector = ({ @@ -46,6 +47,7 @@ const SchemaSelector = ({ excludedSchemas = [], onSelectSchema, onSelectCreateSchema, + portal = true, }: SchemaSelectorProps) => { const [open, setOpen] = useState(false) const canCreateSchemas = useCheckPermissions(PermissionAction.TENANT_SQL_ADMIN_WRITE, 'schemas') @@ -126,7 +128,7 @@ const SchemaSelector = ({ className="p-0 min-w-[200px] pointer-events-auto" side="bottom" align="start" - portal={true} + portal={portal} sameWidthAsTrigger >