brainhubeu / react-file-input

 ⚛️  A file Input, with drag'n'drop and image editor for React
https://brainhub.eu/
MIT License
77 stars 11 forks source link

mobile - I cannot crop as I'd like to #80

Open piotr-s-brainhub opened 4 years ago

piotr-s-brainhub commented 4 years ago

It is: 1) I open https://brainhubeu.github.io/react-file-input/docs/examples/cropTool 2) I add an image 3) I click save 4) I click on a point inside the image 5) It crops from the top-left edge to the clicked point. 6) I'm not able to change the selected area.

It should be: 6) I should be able to select any area for cropping as I can on the desktop.

As you can see, there are two problems: 1) I'm able to select only the bottom-right edge of the selection but the top-left is always the image edge. 2) I cannot change the selection.

OS: iOS 12.4.5 Browser: Safari react-file-input version: 0.9.3