react-upload-gallery icon indicating copy to clipboard operation
react-upload-gallery copied to clipboard

Uncaught error when trying to upload many images at once

Open TomlDev opened this issue 3 years ago • 1 comments

Sometimes I get this error when I try to upload 20 Images (40 MB)

I use it like this:

import React from 'react';
import RUG from 'react-upload-gallery';

          <RUG
            action={`${apiPath}upload`}
            headers={{ Authorization: `Bearer ${token}` }}
            source={(response: any) => response.source} // response image source
            onDeleted={onDeleted}
          />

grafik

    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-upload-gallery": "^0.4.0"

TomlDev avatar Apr 25 '22 17:04 TomlDev

Same with

    "react": "^16.13.0",
    "react-dom": "^16.13.0",

It only happens with autoUpload enabled.

TomlDev avatar Apr 25 '22 17:04 TomlDev