Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 27eed9b

Browse files
committed
fix(attributes): attributes context menu no longer triggering
1 parent b7d118a commit 27eed9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/client/src/widgets/attribute_widgets/attribute_editor.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ export default class AttributeEditorWidget extends NoteContextAwareWidget implem
198198
],
199199
selectMenuItemHandler: ({ command }) => this.handleAddNewAttributeCommand(command)
200200
});
201+
// Prevent automatic hiding of the context menu due to the button being clicked.
202+
e.stopPropagation();
201203
}
202204

203205
// triggered from keyboard shortcut

0 commit comments

Comments
 (0)