Stop viewbox auto-moving

If there is a way to stop the viwebox auto-moving when I drag elements clsoe to the boundary。1111

You can do this by simply disabling the autoScroll module.

const modeler = new Modeler({
  container,
  keyboard: {
    bindTo: document
  },
  additionalModules: [
    {
      autoScroll: ['value', null]
    }
  ]
});

Source: disable auto scroll - CodeSandbox

Thank you so much , I’ll try it.