cstefanache / angular2-img-cropper

Angular 2 Image Cropper
MIT License
364 stars 135 forks source link

Cannot read property 'dragHandle' of undefined #83

Closed JulioC closed 7 years ago

JulioC commented 7 years ago

I've been getting reports from production of an exception 'Cannot read property 'dragHandle' of undefined' on imageCropper.ts:927

I was not able to reproduce the error nor I understand what impacts it has on the application.

Maybe the fix would change the if to just if (dragTouch)

cleever commented 7 years ago

Same issue here.

I'm using this library with Ionic2 and the problem is easily reproduced with touch on mobile.

cstefanache commented 7 years ago

fixed... will be release today. thanks