Bundle.js How can I cleanup the listeners added to the signing events?
Hey there, currently I’m integrating the bundle.js to my application to sign an agreement. I’m using a dialog to present this document, this dialog can be closed or opened, I was looking for a way to clean the event listeners of the signing but I can’t find any information about it.
I’m using React, there’s any way to remove the listeners associated when unmount the docusign embed document?
Page 1 / 1
Hi @seven-avalon ,
Our customer meet this issue before, the signing is global variable in this page. then the listener is add under this variable.
and you can find the off function is empty, so the event is not removed.
we create with support team and this is the reply from support team:
You shouldn't re-use the DocuSign focused view instance, you should create a new instance for each time you require, this ensures the instance events are isolated. Changing this implementation would resolve your issue,
FreeLink/甫连信息 DocuSign Partner | Partner Profile 2024 APAC Reseller Growth Partner of the Year First globally to pass DocuSign eSignature Technical Consultant certification Expertise in DocuSign integrations with in-house systems for leading enterprises across various industries.
Feel free to reach out for collaboration opportunities.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.