Skip to main content
Question

Bundle.js Can I remove the listeners added into the bundle.js in the "on" method?

  • 2 September 2024
  • 1 reply
  • 13 views

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 (everytime that I open this dialog I’m loading again the DocuSign client and requesting the document url to load the embed view),

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?

as you see the code, the off function is empty, so the events can’t remove in this instance.

we also create case with support team. and they reply:

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.


Reply