fix(attributes): attributes context menu no longer triggering

This commit is contained in:
Elian Doran 2025-05-15 14:09:41 +03:00
parent b7d118a12c
commit 27eed9b25e
No known key found for this signature in database

View File

@ -198,6 +198,8 @@ export default class AttributeEditorWidget extends NoteContextAwareWidget implem
], ],
selectMenuItemHandler: ({ command }) => this.handleAddNewAttributeCommand(command) selectMenuItemHandler: ({ command }) => this.handleAddNewAttributeCommand(command)
}); });
// Prevent automatic hiding of the context menu due to the button being clicked.
e.stopPropagation();
} }
// triggered from keyboard shortcut // triggered from keyboard shortcut