react-avatar
react-avatar copied to clipboard
Width constraint on editor no working
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.
I realize that this follows the documentation, but it would be nice if it could automatically adjust both ways.
This is still an issue. Any plans to fix this? I don't know if I can use this package until this is fixed.
wrap component inside div style=overflow-x:auto;max-width:256px as tmp fix