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

cropper.setDragMode("move") and cropper.crop() not working #45

Open
chr1soscl opened this issue Sep 13, 2019 · 1 comment
Open

cropper.setDragMode("move") and cropper.crop() not working #45

chr1soscl opened this issue Sep 13, 2019 · 1 comment

Comments

@chr1soscl
Copy link

Hello,
I installed your package and I am able to get it start, but it seems the above functionality is not working.
cropper.setDragMode("move");
cropper.crop()

you can find the code and the demo app below:
https://imageeditorcropperjs.herokuapp.com/
https://github.com/chr1soscl/imageEditorCropperJS

@StefansArya
Copy link

My solution is adding setTimeout after the replacing the URL, maybe we need to call setDragMode after the image was loaded.

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

2 participants