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

Cannot download images on Firefox #963

Open
anastarawneh opened this issue Dec 1, 2023 · 0 comments
Open

Cannot download images on Firefox #963

anastarawneh opened this issue Dec 1, 2023 · 0 comments

Comments

@anastarawneh
Copy link

I'm getting this error in the console whenever I try to download an image:

Uncaught TypeError: FileReader.readAsDataURL: Argument 1 is not an object.
    h dom-to-image.js:506
    _rollbar_wrapped rollbar.umd.min.js:1
    n rollbar.umd.min.js:2
    instrumentNetwork rollbar.umd.min.js:2
    r dom-to-image.js:478
    getAndEncode dom-to-image.js:437
    promise callback*o dom-to-image.js:594
    n dom-to-image.js:615
    promise callback*42393/inlineAll/o</< dom-to-image.js:614
    o dom-to-image.js:612
    promise callback*inlineAll dom-to-image.js:610
    i dom-to-image.js:732
    t dom-to-image.js:717
    m dom-to-image.js:294
    promise callback*s dom-to-image.js:50
    l dom-to-image.js:132
    toPng dom-to-image.js:87
    toImage Result.tsx:201
    s Result.tsx:4
    promise callback*l Result.tsx:6
    x Result.tsx:7
    x Result.tsx:3
    toImage Result.tsx:193
    onClickDownload Result.tsx:265
    React 11
    unstable_runWithPriority scheduler.production.min.js:19
    React 3
    _rollbar_wrapped rollbar.umd.min.js:1
    o rollbar.umd.min.js:2
    xr React
dom-to-image.js:506:24

Everything works just fine on Edge, I'm only seeing this issue on Firefox.

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