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

Infinite spinner when imageMinMaxBlock is set to true #534

Open
aycw2526 opened this issue Oct 11, 2023 · 0 comments
Open

Infinite spinner when imageMinMaxBlock is set to true #534

aycw2526 opened this issue Oct 11, 2023 · 0 comments

Comments

@aycw2526
Copy link

aycw2526 commented Oct 11, 2023

Hi,
We are currently experiencing an issue when setting imageMinMaxBlock to true. After we select an image to upload, it goes into an infinite spinner without throwing an error.

image

Expected Behavior

It should show the image after I select an image 600x300 from my local storage.

Current Behavior

After selecting my image 600x300, I get an infinite spinner without throwing an error.

My options:
const options = { maxFiles: 1, accept: ["image/*"], fromSources: ["local_file_system"], uploadInBackground: false, imageDim: [600, 300], imageMin: [600, 300], imageMinMaxBlock: true, transformations: { crop: { aspectRatio: 600/300, force: true, } } onUploadDone: (res) => console.log(res), };

Your Environment

  • Version used: 3.x.x
  • Browser Name and version: any
  • Operating System and version (desktop or mobile): any
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