Click event for graph objects in adornment of Context menus do not work as expected

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.

http://gojs.net/latest/samples/basic.html

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.

Thanks for pointing it out. We’ll review it.

Luckily for you, we were about to release 1.5.4, so we have included a fix for this misfeature. I hope you find it satisfactory.

Its good to know, that fix for this has been made part of release 1.5.4. Thanks for your support, its really appreciating.