Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught (in promise) Unable to find element in cloned iframe - on second attempt to render & download #145

Open
jumptrnr opened this issue Sep 27, 2022 · 1 comment
Assignees

Comments

@jumptrnr
Copy link

Describe the bug
Running in Nuxt am able to download the PDF the firs time. But when attempting to do so a second time, get the following error in the console:

Uncaught (in promise) Unable to find element in cloned iframe in downloadPDF

it seems to get to the following in the module:

this.pdfFile = await html2PdfSetup.output('bloburl');

(
To Reproduce
Steps to reproduce the behavior:

  1. Implement in Nuxt per instructions
  2. Run generatePdf 1st time - all good,
  3. Run generatePdf 2nd time - see above error

Screenshots
N/A

Package Version
e.g. 1.8.0

Additional context
Add any other context about the problem here.

@baraaksayeth
Copy link

I meet this problem too. Any solutions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants