react-avatar icon indicating copy to clipboard operation
react-avatar copied to clipboard

Width constraint on editor no working

Open erik-sanne opened this issue 4 years ago • 3 comments

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 avatar Dec 20 '20 23:12 erik-sanne

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

erik-sanne avatar Dec 20 '20 23:12 erik-sanne

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

fated-x avatar May 21 '21 08:05 fated-x

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

Alex-Github-Account avatar Dec 22 '22 17:12 Alex-Github-Account