It turns out that hideContextMenu isn’t sufficient by itself. I suggest that you call this instead:
diagramRef.current.getDiagram().currentTool.doCancel();
or more generally, something like:
myDiagram.currentTool.doCancel();
It turns out that hideContextMenu isn’t sufficient by itself. I suggest that you call this instead:
diagramRef.current.getDiagram().currentTool.doCancel();
or more generally, something like:
myDiagram.currentTool.doCancel();