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

Width constraint on editor no working #64

Open
erik-sanne opened this issue Dec 20, 2020 · 3 comments
Open

Width constraint on editor no working #64

erik-sanne opened this issue Dec 20, 2020 · 3 comments
Assignees

Comments

@erik-sanne
Copy link

Lets say that I set width = height = 256 on the editor.
If I select an image with height > width, then the image is scaled and padded such that it fits into the editor.
If I select an image with width > height, the the image becomes too wide and overflows the editor.

@erik-sanne
Copy link
Author

I realize that this follows the documentation, but it would be nice if it could automatically adjust both ways.

@fated-x
Copy link

fated-x commented May 21, 2021

This is still an issue. Any plans to fix this? I don't know if I can use this package until this is fixed.

@kirill3333 kirill3333 self-assigned this Oct 4, 2021
@Alex-Github-Account
Copy link

Alex-Github-Account commented Dec 22, 2022

wrap component inside
div style=overflow-x:auto;max-width:256px
as tmp fix

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

No branches or pull requests

4 participants