Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image zoom #3516

Open
HRN65 opened this issue Sep 18, 2020 · 2 comments
Open

Image zoom #3516

HRN65 opened this issue Sep 18, 2020 · 2 comments
Labels
bug confirmed bug upstream error in a third-party library

Comments

@HRN65
Copy link
Contributor

HRN65 commented Sep 18, 2020

Great improvements in media/watermarks!

However, there seem to be a small "bug" in displaying images: When zooming in on smaller images, they do not expand downwards, leaving lower part of the image hidden behind the white canvas.

zoom

@fisharebest
Copy link
Owner

As far as I can tell, this is a bug in the pinch-zoom package.

The cropped image is caused by an inline overflow:hidden. However, this is needed to prevent scrollbars from appearing.

The package looks like it hasn't been looked at for several years, so I guess there is little we can do.

@fisharebest fisharebest added the upstream error in a third-party library label Sep 18, 2020
@fisharebest fisharebest added the bug confirmed bug label Feb 25, 2021
@tronsmit
Copy link
Contributor

tronsmit commented Apr 4, 2024

I've only tested the css fix (https://www.webtrees.net/index.php/forum/help-for-release-2-1-x/37368-bottom-margin-in-colorbox#103048) for chrome and firefox. Repeated here

div #cboxLoadedContent pinch-zoom {overflow: visible}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed bug upstream error in a third-party library
Projects
None yet
Development

No branches or pull requests

3 participants