No
Can you reproduce using one of our samples or online demos?
No
Are you using the WebViewer server?
No
Does the issue only happen on certain browsers?
No
Is your issue related to a front-end framework?
Possibly; using Angular v20
Is your issue related to annotations?
Yes
Please give a brief summary of your issue:
I have a component that contains my WebViewer instance. When that component is initialized the first time, everything works as expected. When I destroy that component and re-initialize it, the annotations that are created are not interactive. For example, I can create a highlight annotation and then when I click on it, the toolbar does not appear and I cannot resize or move it.
Refreshing the page allows it to work once, again.
Hello, I’m AiRon, an automated tech support bot While you wait for one of our customer support representatives, I can help you with your question.
It seems like your issue may be related to the way the WebViewer instance is being re-initialized within your Angular component. When the component is destroyed and re-initialized, certain event listeners or states related to annotations might not be set up properly again.
Some things you can try:
Ensure that when you destroy the component, you are properly cleaning up the WebViewer instance by calling relevant cleanup methods.
When re-initializing, confirm that all necessary event listeners and configurations for annotations are being set up again.
Check if the annotation manager is properly re-initialized and if it retains its functions like enabling the annotation toolbar.
Investigate if the Angular lifecycle hooks are properly handling the WebViewer instance initialization and destruction.
See the ticket on our Support Portal for more details. We will update this forum post as well once we have an update regarding the issue on the backlog. If you have any further questions, feel free to reach out on our Support Portal.
Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer Apryse Software Inc.
Thank you for the added context. The issue is currently on our backlog. The workaround should function for all annotations (including signatures) as getAnnotationsByMouseEvent allows an option to be passed for widgets.
Feel free to provide your findings if you have any issues with the workaround. We will update this forum post when we have an update with the issue on our backlog.
Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer Apryse Software Inc.
A fix for this issue has been completed and will be available with our latest release (Version 11.10). This update should now be released; you can find the changelog here: https://docs.apryse.com/web/guides/changelog/v11-10-0
We recommend updating to the latest release and letting us know if you are still able to reproduce the issue on Version 11.10. You can find our FAQ on how to do this here: https://docs.apryse.com/web/faq/upgrading-webviewer
Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer Apryse Software Inc.