Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Size of image in modal view #553

Open
schnuti opened this issue May 27, 2018 · 4 comments
Open

Size of image in modal view #553

schnuti opened this issue May 27, 2018 · 4 comments
Assignees
Labels
Milestone

Comments

@schnuti
Copy link
Collaborator

schnuti commented May 27, 2018

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.

@laoneo laoneo added the bug label May 28, 2018
@laoneo laoneo added this to the Stabilize milestone May 28, 2018
@laoneo
Copy link
Contributor

laoneo commented May 28, 2018

What would help is a screenshot, if available.

@schnuti
Copy link
Collaborator Author

schnuti commented May 28, 2018

Well, a nice image 1200x1200px

With default viewport
large_1

After 5x ctrl + -
large-5-ctrl-

@ciar4n
Copy link
Contributor

ciar4n commented May 29, 2018

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.

@geetanshu-m
Copy link
Contributor

We may include this component for the preview of the images.

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

No branches or pull requests

4 participants