cropper.js
cropper.js copied to clipboard
Problems with scroll
I'm making a page where the canvas is somewhere in the middle of the page, after some vertical scroll you can now upload an image, but the box to select the area to cut is not responsive, works well when the canvas is somewhere in the beginning of the page, but no if you have to do some scroll, I was trying to fix this problem myself in the isInHandle() function but without luck.
Hey Joel, I reckon you might be better off using a library like https://github.com/fengyuanchen/cropperjs which looks like it's more recently updated and has more features.
That think is overkill for what I want, but don't worry, i'm gonna try to fix it myself, i'm gonna take this as a challenge, best regards!
Feel free to submit a pull request if you work it out. I also remembered this, maybe it will help: https://github.com/oscarkey/cropper.js/pull/6