Hi Peter,
As mentioned earlier, when we click on the diagram, the diagram gets focused and it is a default behavior of our diagram control. If we prevent a diagram focus, then a diagram interaction could not be performed. So, if you need to prevent focus and scrolling, you can design a static diagram by setting DiagramConstraints as None as shown in below code example.
Code example:
function App() {
return (
<DiagramComponent id="diagram"
//set diagramconstraints as none for static diagram
constraints = {DiagramConstraints.None}
/>
</div>
);
}
|
Regards,
Ramya T