filestack / filestack-js

Official Javascript SDK for the Filestack API and content ingestion system.

Home Page:https://www.filestack.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Infinite spinner when imageMinMaxBlock is set to true

aycw2526 opened this issue · comments

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