ng-pdfviewer
ng-pdfviewer copied to clipboard
pdfviewer is concatenating the files
If I create 2 or more pdfs the end result will be, a concatenated pdf. I'm using the pdfviewer, to allow the user to view and then download, however, downloading is grand because it's a different logic, but viewing what it happens is that files get concatenated.
So, if the first pdf have 3 pages, and the second pdf have 8 pages, the user first see an unrelated pdf, before he can actually see the intended pdf.
Any suggestion how I can clear the pdfviewer buffer??
Thanks