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

preserveAspectRatio stopped working after upgrading to 1.8.1 #798

Closed
lolmaus opened this issue Mar 3, 2020 · 3 comments
Closed

preserveAspectRatio stopped working after upgrading to 1.8.1 #798

lolmaus opened this issue Mar 3, 2020 · 3 comments
Labels

Comments

@lolmaus
Copy link

lolmaus commented Mar 3, 2020

Hi!

I've upgraded interactjs from 1.4.11 to 1.8.1 and the preserveAspectRatio flag is no longer respected: image proportions can be distorted.

Had to downgrade.

@lolmaus lolmaus changed the title interactjs preserveAspectRatio stopped working after upgrading to 1.8.1 Mar 3, 2020
@taye
Copy link
Owner

taye commented Mar 3, 2020

Hello. There's a new way to enforce the aspect ratio using modifiers. It has the advantage of cooperating with other modifiers like snap and restrict. https://interactjs.io/docs/resizable#aspect-ratio

@lolmaus
Copy link
Author

lolmaus commented Mar 3, 2020

СС @simonihmig

@stale
Copy link

stale bot commented Mar 17, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants