Horizontal scroll in forcedDIrectedLayout


I have a strange issue with horizontal scroll:
I have a very big diagram that has both a vertical and horizontal scroll.
the vertical scroll works perfectly, but the horizontal one scrolls right once, all the diagram moves but then it stops responding to the scroll, staying stuck to the left, while the vertical one still works perfectly.

any ideas?

I doubt this problem has anything to do with ForceDirectedLayout.

Are you using go-debug.js and watching for any messages in the console output?

What’s the value of myDiagram.documentBounds?