@davycoolsaet wrote:
I have a canvas which is bigger than my screen (800px) and every time i scoll on the page and click the canvas, my page scrolls to the top of the page.
I have already tried to set scrollsPageOnFocus to false and also tried to use:
myDiagram.doFocus = function() {
var x = window.scrollX || window.pageXOffset;
var y = window.scrollY || window.pageYOffset;
go.Diagram.prototype.doFocus.call(this);
window.scrollTo(x, y);
}Both don’t resolve the issue.
We have a product license and are using the latest version 2.0.12. This was tested on both IE and Chrome.
Posts: 2
Participants: 2