Skip to content

HTMLAnchorElement is not defined #3072

Closed
@OmedMilat

Description

@OmedMilat

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions