From 27eed9b25ee06a6f19c2df54f69263fe709a7846 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 15 May 2025 14:09:41 +0300 Subject: [PATCH] fix(attributes): attributes context menu no longer triggering --- apps/client/src/widgets/attribute_widgets/attribute_editor.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/client/src/widgets/attribute_widgets/attribute_editor.ts b/apps/client/src/widgets/attribute_widgets/attribute_editor.ts index 1f3da0096..132632ceb 100644 --- a/apps/client/src/widgets/attribute_widgets/attribute_editor.ts +++ b/apps/client/src/widgets/attribute_widgets/attribute_editor.ts @@ -198,6 +198,8 @@ export default class AttributeEditorWidget extends NoteContextAwareWidget implem ], selectMenuItemHandler: ({ command }) => this.handleAddNewAttributeCommand(command) }); + // Prevent automatic hiding of the context menu due to the button being clicked. + e.stopPropagation(); } // triggered from keyboard shortcut