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

Unhelpful warning about background upload #75

Closed
mpoisot opened this issue Sep 18, 2019 · 1 comment
Closed

Unhelpful warning about background upload #75

mpoisot opened this issue Sep 18, 2019 · 1 comment

Comments

@mpoisot
Copy link

mpoisot commented Sep 18, 2019

I'm forcing cropping and I always see this message in the console. I'm using filestack-react v3.1.0, which is pulling in filestack-js v3.5.0.

Upload in background can be enabled only when cropper is disabled

Here's how I'm using the FileStack component:

<Filestack
  apikey={FilestackApiKey}
  action="pick"
  actionOptions={{
    accept: "image/*",
    allowManualRetry: true,
    fromSources: ["local_file_system"],
    transformations: {
      circle: false,
      crop: {
        aspectRatio,
        force: true,
      },
    },
    customText: {
      "Select Files to Upload": "Select Image to Upload",
    },
  }}
  onSuccess={data => onAddImg(data.filesUploaded[0])}
/>
@pcholuj
Copy link
Contributor

pcholuj commented Jun 24, 2020

Hi this warning will be disabled on next release

@pcholuj pcholuj closed this as completed Jun 24, 2020
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