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

When I changed the viewport and boundary sizes, I lost control of the slider. #383

Closed
code8082 opened this issue Sep 19, 2017 · 1 comment

Comments

@code8082
Copy link

code8082 commented Sep 19, 2017

I'm using Croppie 2.5.0.

I had this:

$uploadCrop = $('#upload-demo').croppie({
     viewport: {
         width: 200,
         height: 146,
     },
     boundary: {
         width: 300,
         height: 300
     }
 });

but when i changed it to make the croppie window bigger to this:

    $uploadCrop = $('#upload-demo').croppie({
        viewport: {
            width: 350,
            height: 255,
        },
        boundary: {
            width: 400,
            height: 400
        }
    });

I lost control of the slider.

@thedustinsmith
Copy link
Contributor

Unfortunately, you can't change croppie options at this time. I've added code that will prevent confusion when initializing croppie twice on the same element.

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