filestack / filestack-js

Official Javascript SDK for the Filestack API and content ingestion system.
https://www.filestack.com
MIT License
206 stars 76 forks source link

Infinite spinner when imageMinMaxBlock is set to true #534

Open aycw2526 opened 9 months ago

aycw2526 commented 9 months ago

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