Foliotek / Croppie

A Javascript Image Cropper
http://foliotek.github.io/Croppie
MIT License
2.55k stars 886 forks source link

blank image in returning result only on IPhone #765

Open mahmudipur opened 2 years ago

mahmudipur commented 2 years ago

Expected Behavior

with disabled 'enforceBoundary' and zooming out we want to have a small image and white spaces around it

Actual Behavior

after zooming out a little bit and hit crop button we have a full white image which is not what we expect

Steps to Reproduce the Problem

open codepen link below with Safari or chrome on IPhone :

  1. click 'add' button
  2. select an image from your gallery
  3. Modal is open now. here is your selected picture in most very top of modal and a range slider below image
  4. try zooming out using this range slider till you have some white spaces around the image
  5. tap 'crop' button and you will see a fully white picture and your selected image is gone!
  6. NOTE : Don't use android device. it's very ok on every android devices

Example Link

Specifications

I'm ready for discus about this problem and I will appreciate to anyone who can help me to fix this

insaurabh commented 4 months ago

@mahmudipur

Did you fix the issue?