Gojs default canvas scrollbar events

Hi,
We are getting an default scrollbar for canvas, when object exceeds the window. I want Scrollbar click event so that I can write my method.I have applied different jQuerry click events but not able to get the click event for default GoJS created scrollbar for canvas. How can i get the click event when i do mouse click on canvas scrollbar. Any Suggestions???

We don’t typically allow this, but maybe there is a reasonable workaround. What are you trying to do?

I was trying to hide the contextMenu In canvas but its not hiding when we scroll the default scrollbar so.

I think you can just do that by disabling it on the entire Diagram div. Try something like:

document.getElementById('myDiagramDiv').addEventListener('contextmenu', function(e) { e.preventDefault(); return false; }, false);

Okay thank you