Select makes non-scrollable diagram scroll

I have a diagram with allowVerticalScroll: false

If a user uses the select rubberband rectangle to select nodes, and gets too close to the top or bottom, the diagram will still scroll vertically.

Can I do anything about this?

You can set Diagram.autoScrollRegion to 0, or to a Margin with 0 on the sides you don’t want scrolled.

Actually, I think the current behavior is a bug. Setting Diagram.autoScrollRegion will control it. But I don’t think you should have to set it after setting Diagram.allowVerticalScroll or Diagram.allowHorizontalScroll to false.

Thanks for pointing out the problem.

Note that there are still ways for the user to change the value of Diagram.position besides scrolling/panning. For example, zooming.

I would tend to agree.

(I have zoom disabled too but thx for pointing out)

Fixed in 2.1.32.