media-manager-improvement
media-manager-improvement copied to clipboard
Size of image in modal view
Steps to reproduce the issue
View a larger image in modal view. Only parts of the image is shown dependent on browsers view size. It has a default (ctrl + 0)
Expected result
Shouldn't the image be resized according to viewport size? (Alternative scrolling?)
Actual result
Only a part of the image is shown. To view the whole image you have to resize the browser one or more times. (ctrl + - )
System information (as much as possible)
Not system or browser dependent as far as I understand. Tested with FF and Chrome on Win10.
What would help is a screenshot, if available.
Well, a nice image 1200x1200px
With default viewport
After 5x ctrl + -
I guess we can set a max height and width based on the viewport size which should resolve this issue. I'll create the PR later today.
We may include this component for the preview of the images.