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

Image Aspect Ratio isn't correct after inserting image #117

Open
stetson-phillips-backstitch opened this issue Jun 29, 2023 · 0 comments
Open

Comments

@stetson-phillips-backstitch
Copy link

stetson-phillips-backstitch commented Jun 29, 2023

Version: 4.0.17

There are a couple issues that we are experiencing when inserting images:

  1. When inserting an image using the Insert Image button the preview of the image looks correct as it is uploading, but once it uploads, the aspect ratio isn't correct.
Screen.Recording.2023-06-28.at.7.04.17.PM.mov
  1. After cropping an image using the Toast UI Image Editor, the same experience occurs.

Current work around is to use the Change Size button and just click Update without changing the size and it will resize correctly, but it isn't an ideal UX.

So far I've only noticed it on images that have a larger width than the editor. I've tried using imageDefaultWidth and setting the width to less than the editor and I wasn't able to change the behavior.

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

1 participant