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

HTMLAnchorElement is not defined #3072

Closed
OmedMilat opened this issue Jan 24, 2021 · 1 comment
Closed

HTMLAnchorElement is not defined #3072

OmedMilat opened this issue Jan 24, 2021 · 1 comment

Comments

@OmedMilat
Copy link
Contributor

Using React Native i get the error ReferenceError: HTMLAnchorElement is not defined when declaring & assigning jsPDF const doc = new jsPDF(); .

That error comes from FileSaver.js (which is understandable because it does not support RN), an PR has been merged to prevent this error from crashing RN applications. Is it possible to apply that change to jsPDF?

"jspdf": "2.3.0"
"react-native": "0.63.3"

@HackbrettXXX
Copy link
Collaborator

HackbrettXXX commented Jan 25, 2021

Would be good to apply the change to jsPDF. Thanks for the PR.

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

2 participants