Popup menu opening when diagram is moved

I am able to open the popup menu on each shape when diagram is stable, but for a large diagram, if I move the diagram to see shapes and tries to open a popup menu related to that shape then its not opening on the shape

image

In the above diagram, the popup menu is related to “Rep Yes” shape.
Is it possible to display popup menu based on cursor coordinates?

You can get the last mousemove event through the Mouse module:

const mouse = modeler.get('mouse');

const { clientX, clientY } = mouse.getLastMoveEvent();

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.