Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(attributes): attributes context menu no longer triggering
Elian Doran27eed9b25ee0
diff --git a/apps/client/src/widgets/attribute_widgets/attribute_editor.ts b/apps/client/src/widgets/attribute_widgets/attribute_editor.tsindex 1f3da0096a..132632ceb0 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