Emil Fridthjof

Results 3 comments of Emil Fridthjof

Did you find somewhat of a solution? i currently got the same issue.

I Fixed it by dynamically setting aspectRatio, by dividing the uploaded image height and width and inserting that value into the aspectRatio option.

Sure. Component that uses the lib. ``` imageUrl: null; filedUploaded = false; aspectRatio = null; uploadImageUrl(event) { this.readImage(event.target); } private readImage(inputValue: any): void { const file: File = inputValue.files[0]; const...