PhotoSwipe: Top of the image disappears when magnifying
Posted: 07 Oct 2020, 09:00
I use PhotoSwipe in Detail View. After I've been adding some text in the description of some images, then I realize that the top of the image "disapear" out of the top of the screen in magnified view. The vertical scroll bar of the window doesn't have any impact. This happen when the height of the image is bigger then the large thumbnail that is shown as default, and one has added a bit of text in the description.
Things look fine when one the image is opened and shown in the viewer. Then the image is scaled down in accordance with the height of the title and description.
https://imgur.com/a/dQMSxGZ
When magnifying the image then some of the text is shown on top of the image, which is fine. The problem is that the top of the image disappears out of the top of the screen and the vertical scroll bar hasn't got any impact.
https://imgur.com/a/E11bcaW
https://imgur.com/a/v9Up4oZ
I would like the top of the image to stay at the top of the screen and the the bottom to get further down with more of the text on top of it. It would also be good if the vertical scroll bar would have an impact.
Any ideas of how to achieve this with PhotoSwipe?
Things look fine when one the image is opened and shown in the viewer. Then the image is scaled down in accordance with the height of the title and description.
https://imgur.com/a/dQMSxGZ
When magnifying the image then some of the text is shown on top of the image, which is fine. The problem is that the top of the image disappears out of the top of the screen and the vertical scroll bar hasn't got any impact.
https://imgur.com/a/E11bcaW
https://imgur.com/a/v9Up4oZ
I would like the top of the image to stay at the top of the screen and the the bottom to get further down with more of the text on top of it. It would also be good if the vertical scroll bar would have an impact.
Any ideas of how to achieve this with PhotoSwipe?