refer to the jquery diagram example from this link
https://js.syncfusion.com/demos/jquery/dashboard/diagrambuilder/default.html
it works fine there
double tap bring the editing of the text on a rectangle, where single tap and hold bring the context menu
you can check it out, but from above as I pointed out does not work
you can check the jquery to see the difference