Click event for graph objects in adornment of Context menus do not work as expected, when I click on the graph object defined in adornment lets say a button, it do not behave as a click, that is it should work on mouse down followed by mouse up, but it get executed as soon as mouse down happens.
The same is occurs in the sample provided on GoJS website as well.
Yes, you’re right. The reason is because the ContextMenuTool raises click events in the doMouseDown method. It’s not an issue with Buttons in Adornments not shown by the ContextMenuTool.