-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
[BUG] - ScaleType Problem #220
Comments
Hey @PiotrBandurski Welcome! And much thanks for using the template, helps a lot! The issue here is because our So in the code if we do Will add some tags in case someone else wanna help |
Strange behaviour, will dig it a little @@ |
I tried to fix |
Will try to check over weekend, this is annoying @@ |
@PiotrBandurski this is a bug that we have in other places that I will need top fix anyway =| Can open the PR and I test it, will try to fix the bug on the weekend |
Hello folks 👋 there's no preceding if for scaleType like it was before, so current part:
should be
hope it helped 🤞 |
@Marchuck could you please open a PR with the fix? Thanks! |
Thanks @scana =D |
🚨🚨 Before open the ticket please check if you can reproduce the bug in the sample code
Describe the bug
I think that scale type is not working (Or I'm doing something wrong). When I have CropImageView with ratio for example 3x5 and I want to crop square image and im setting ScaleType to CENTER_CROP I would expect that preview of image will be filled (like in android ImageView).
To Reproduce
Steps to reproduce the behavior:
app:cropScaleType="centerCrop"
to<com.canhub.cropper.CropImageView
Expected behavior
Image should fill whole CropImageView
Media
Smartphone (please complete the following information):
Additional context
But maybe Im doing something wrong :D
The text was updated successfully, but these errors were encountered: