Agontuk/vue-cropperjs

Crop drag and resize not smooth

caroig opened this issue · 3 comments

I'm using the vue cropper in a large project with vue 2.x, and vuetify. It all works wonderfully, but the crop window drag and resize has a lot of lag and stutter. The preview window responds immediately when the crop window is dragged or resized, but the crop window lags behind.

Vue.cropper.test.mp4

Are you handling the drag events ? If so, maybe there's some expensive operation that's causing the lag.
Also check if ui is re-rendering for each drag event.

Yes same its lagging and also sometime browser hang and crashed too.