Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crop drag and resize not smooth #102

Open
caroig opened this issue May 18, 2021 · 3 comments
Open

Crop drag and resize not smooth #102

caroig opened this issue May 18, 2021 · 3 comments

Comments

@caroig
Copy link

caroig commented May 18, 2021

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
@Agontuk
Copy link
Owner

Agontuk commented May 31, 2021

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.

@kaushikmakholiyanls
Copy link

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

@lateek35
Copy link

@caroig I think that part of your lags is caused by a css transition set on your cropper-crop-box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants