From 0e065dfa8983b7558b8c6f6dd6bd5f1040bb4be3 Mon Sep 17 00:00:00 2001 From: Dima Grossman Date: Mon, 23 Dec 2024 12:28:03 +0200 Subject: [PATCH 1/5] fix(dashboard): clicking outside dropdown closes the whole edit sidebar (#7352) --- apps/dashboard/src/components/in-app-action-dropdown.tsx | 4 ++-- .../src/components/primitives/form/avatar-picker.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/dashboard/src/components/in-app-action-dropdown.tsx b/apps/dashboard/src/components/in-app-action-dropdown.tsx index 787adf40edc..a61525783cb 100644 --- a/apps/dashboard/src/components/in-app-action-dropdown.tsx +++ b/apps/dashboard/src/components/in-app-action-dropdown.tsx @@ -51,7 +51,7 @@ export const InAppActionDropdown = ({ onMenuItemClick }: { onMenuItemClick?: () return ( <> - +
{!primaryAction && !secondaryAction && ( @@ -168,7 +168,7 @@ const ConfigureActionPopover = (props: ComponentProps & { ); return ( - +
diff --git a/apps/dashboard/src/components/primitives/form/avatar-picker.tsx b/apps/dashboard/src/components/primitives/form/avatar-picker.tsx index d0780010bad..d4f9a16ffaa 100644 --- a/apps/dashboard/src/components/primitives/form/avatar-picker.tsx +++ b/apps/dashboard/src/components/primitives/form/avatar-picker.tsx @@ -53,7 +53,7 @@ export const AvatarPicker = forwardRef( return (
- +