I have a canvas which is set to go.Diagram.DocumentScroll and I have autoScroll enabled. I notice that when I have a single block far away from other blocks, and I autoScroll to those other blocks, the viewport ‘pops’ in a way in which the non-dragged blocks are centered into view and it seems like the dragged block just jumped a big distance.
To replicate this, you can go to Scroll Modes GoJS Sample and drag one of the blocks down to a point where none of the other blocks are visible. Release the block down at this position, and then drag that block back to the top of the viewport so it is autoscrolling up. As soon as this happens, the viewport jumps to center the non-moved blocks, and it looks like the dragged block jumped a huge amount.
This does not happen when setting scroll mode to InfiniteScroll, but having the scrollbar visible is important for me so I do not want to switch scroll modes.
Is there a good way to make the diagram scroll back up without this jump effect?
edit: I think I see what you mean: The second time you auto-scroll, it immediately jumps because the entire document bounds (except the node you are holding) are now off screen. It’s quite jarring, and we’ll consider a way to change this functionality to be better.