Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(assistant-ui): prevent popover from closing on content interaction

Steven Enamakelbfa349e05cee
diff --git a/app/src/components/assistant-ui/ui/popover.tsx b/app/src/components/assistant-ui/ui/popover.tsx
index 868485a0f7..3af1fe5276 100644
--- a/app/src/components/assistant-ui/ui/popover.tsx
+++ b/app/src/components/assistant-ui/ui/popover.tsx
@@ -40,34 +40,4 @@ function PopoverContent({
);
}
-function PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) {
- return (
- <div
- data-slot="popover-header"
- className={cn('flex flex-col gap-0.5 text-sm', className)}
- {...props}
- />
- );
-}
-
-function PopoverTitle({ className, ...props }: PopoverPrimitive.Title.Props) {
- return (
- <PopoverPrimitive.Title
- data-slot="popover-title"
- className={cn('font-medium', className)}
- {...props}
- />
- );
-}
-
-function PopoverDescription({ className, ...props }: PopoverPrimitive.Description.Props) {
- return (
- <PopoverPrimitive.Description
- data-slot="popover-description"
- className={cn('text-muted-foreground', className)}
- {...props}
- />
- );
-}
-
-export { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
+export { Popover, PopoverContent, PopoverTrigger };