I have the following Diagram
definition:
ticketMasterDiagram = GO(go.Diagram, DivForDiagram, {
allowResize: true,
allowZoom: false,
allowHorizontalScroll: false,
allowVerticalScroll: false,
autoScrollRegion: new go.Margin(0, 0, 0, 0),
initialContentAlignment: go.Spot.Center,
initialAutoScale:go.Diagram.Uniform
});
with the autoScrollRegion
set to 0,0,0,0
as per the Documentation, I expected that the autoScrollRegion
would be disabled completely for the Diagram
. However, the actual behavior of the Diagram
when I drag a Node
past the lower boundary of the containing <div>
, the Diagram
shifts all of its contents up, simulating the effect of an autoScroll. Is this a seperate feature I need to disable in addition to autoScrollRegion
? It may simply be that I don’t totally understand how autoScrollRegion
works.
Thanks!