Viewport on click tries to come into view

Hi,

When the div(MyDiagram in most of the examples) is clicked (when the div is not completely visible) , it tries to centralise the div. How do I remove this behaviour ?

example : http://gojs.net/latest/samples/beatPaths.html

The browser is automatically scrolling the page to make sure the DIV that is getting focus is fully visible. I think there might be several solutions – please search the web.

If you search here: Canvas shift on palette drop