PDF will be auto downloaded when there is form changes #3114
-
|
After editing a loaded PDF form, navigating away from the page triggers an automatic PDF download when the component is destroyed. How can this be prevented? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
More likely than not, the simplest solution is to update to the latest version of ngx-extended-pdf-viewer. Long answer: Your issue rings a bell. I've solved it at least twice, and it's one of the fragile parts of the library. Changes of pdf.js frequently cause this error - and I don't always catch it in time. However, I can't reproduce the bug in https://pdfviewer.net/extended-pdf-viewer/forms. I believe my recent bug fix still works in versions 25.6.4 and 26.0.0-alpha.0. If updating is not an option, you can scan the closed issues of this project. I faintly remember someone found a clever workaround, not too long ago. And if you're really stuck, don't hesitate to ask me again. Just be aware that at the moment, my spare time is limited, so bear with me if my answer is a bit slower than usual. |
Beta Was this translation helpful? Give feedback.
Updating to the latest version does resolve the issue on our end.
Thank you for the clarification and for maintaining the library — really appreciate your help and the insight you shared.