Hello,
The solution around this involves tricking the tool that it has a location already. You can do that by setting the location on the tool or triggering the mouseLeftUp
function on the tool with a proper mouse event. The first is easier to do but I thought I’d leave an alternative:
const tool = instance.Core.documentViewer.getTool(instance.Core.Tools.ToolNames.SIGNATURE)
tool.location = {
pageNumber: 1,
x: 10,
y: 10,
}
tool.trigger('locationSelected');
Let me know if this helps!