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

Images smaller than the Viewport aren't positioned correctly in 2.6.0 #475

Open
danielschuetter opened this issue Feb 15, 2018 · 5 comments

Comments

@danielschuetter
Copy link

danielschuetter commented Feb 15, 2018

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

@thedustinsmith
Copy link
Contributor

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?

2.5.1 plnkr

@danielschuetter
Copy link
Author

danielschuetter commented Feb 15, 2018

It seems like I linked an unfinished version of my plunker, sorry. I updated it. You should see the cropped result below the cropper.

@ztane
Copy link

ztane commented Feb 21, 2018

This is a bug in enforceBoundary. Likewise, the background color doesn't seem to be positioned correctly :F

@jwcalla
Copy link

jwcalla commented Feb 28, 2018

I think PR #484 fixes this issue. It fixed it for me at least.

@zdennis
Copy link
Contributor

zdennis commented Nov 20, 2018

If #484 resolved this in some cases then #592 should resolve this in more (if not all) cases.

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

5 participants