Skip to content

Commit

Permalink
fix(dashboard): clicking outside dropdown closes the whole edit sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed Dec 23, 2024
1 parent 1a23b26 commit c7a4000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/dashboard/src/components/in-app-action-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const InAppActionDropdown = ({ onMenuItemClick }: { onMenuItemClick?: ()

return (
<>
<DropdownMenu>
<DropdownMenu modal={false}>
<div className={cn('mt-3 flex items-center gap-1')}>
<div className="border-neutral-alpha-200 relative flex min-h-10 w-full flex-wrap items-center justify-end gap-1 rounded-md border p-1 shadow-sm">
{!primaryAction && !secondaryAction && (
Expand Down Expand Up @@ -168,7 +168,7 @@ const ConfigureActionPopover = (props: ComponentProps<typeof PopoverTrigger> & {
);

return (
<Popover modal={true}>
<Popover>
<PopoverTrigger {...rest} />
<PopoverContent className="max-w-72" side="bottom" align="end">
<div className="flex flex-col gap-3">
Expand Down

0 comments on commit c7a4000

Please sign in to comment.