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

Open pdf before to save #3852

Open
leeobrum opened this issue Mar 31, 2025 · 0 comments
Open

Open pdf before to save #3852

leeobrum opened this issue Mar 31, 2025 · 0 comments

Comments

@leeobrum
Copy link

I don't know if any behavior has changed in browsers, but I started having this display problem recently and in Safari browser it is not working. if anyone can help me.

const doc = new jsPDF({ orientation: "landscape" })

const pdfBlob = doc.output("bloburl")
window.open(pdfBlob, "_blank")

This example is for the Chrome browser, I'm using dev, but I've already tested it in Prod using https

Image

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

1 participant