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

pdfMake.createPdf(dd).open fail Uncaught Open PDF in new window blocked by browser #857

Closed
lbottoni opened this issue Feb 6, 2017 · 3 comments

Comments

@lbottoni
Copy link

lbottoni commented Feb 6, 2017

i have this issue on Chrome
i have tried use timeout or ajac call async but never unlock this block.

@liborm85
Copy link
Collaborator

duplicate: #587

@ankitc1010
Copy link

Actually that is because the browser blocking the pop up, since it is not generated by user interaction but is internally.

@moffsugita
Copy link
Contributor

So it can't resolve?

    let pdfDocGenerator = pdfMake.createPdf(docDefinition);
    try {
      pdfDocGenerator.open();
    } catch (err) {
      alert(err);
    }

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

4 participants