Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(property): clicking on item in popover causes click to propagate (#3514)

dev-rb45294fbe7eb7
diff --git a/js/app/packages/property/src/editors/popover/EditorPopover.tsx b/js/app/packages/property/src/editors/popover/EditorPopover.tsx
index 789e9a14fb..2ab621c93e 100644
--- a/js/app/packages/property/src/editors/popover/EditorPopover.tsx
+++ b/js/app/packages/property/src/editors/popover/EditorPopover.tsx
@@ -38,7 +38,10 @@ export function EditorPopover(props: EditorPopoverProps) {
mount={ctx.portalMount()}
depth={3}
>
- <Dropdown.Group class="p-0 gap-0 flex-1 min-h-0">
+ <Dropdown.Group
+ class="p-0 gap-0 flex-1 min-h-0"
+ onClick={(e: MouseEvent) => e.stopPropagation()}
+ >
{props.children}
</Dropdown.Group>
</Dropdown.Content>