I want to show a tooltip inside a rounded rectangle, but whenever I try to bind the rounded rectangle shape with the toolTip, it’s not coming up properly!
You don’t say and show what you want instead, so I have to guess.
The padding on the Placeholder is very large. Make it smaller, or don’t set it at all (zero is the default). Specify any desired spacing in the alignment of the second element.
That’s odd – it worked for me when I modified the Basic sample, Basic GoJS Sample
It seems that you are implying that you have set a breakpoint in the method override, and that it is not reached when the user presses the Escape key. Is that correct?
If so, maybe you overrode the method and then replaced the Diagram.toolManager? That is uncommon, but it is infrequently needed. Just override the method after replacing the ToolManager. Usually that happens if you have defined a separate subclass of ToolManager. If that is the case, override doCancel in that subclass instead of doing so dynamically as I did in the code above.