-
Notifications
You must be signed in to change notification settings - Fork 884
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
Images smaller than the Viewport aren't positioned correctly in 2.6.0 #475
Comments
Thanks for the plunkr ... it makes communicating about the issue easier. That being said, I don't understand the issue. I used 2.5.1 in your plnkr and I'm seeing the same functionality. Can you point me in the right direction? |
It seems like I linked an unfinished version of my plunker, sorry. I updated it. You should see the cropped result below the cropper. |
This is a bug in enforceBoundary. Likewise, the background color doesn't seem to be positioned correctly :F |
I think PR #484 fixes this issue. It fixed it for me at least. |
Expected Behavior
Image should be in the same place it has been positioned ( 2.5.1 behaves like this )
Actual Behavior
Image is off to the right and scaled
Steps to Reproduce the Problem
Upload an Image that is smaller than the viewport and enforceBoundary is off
Example Link
Plnkr
The text was updated successfully, but these errors were encountered: