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

Viewport jumps to top of page #753

Open
ov2k opened this issue Jun 10, 2024 · 1 comment
Open

Viewport jumps to top of page #753

ov2k opened this issue Jun 10, 2024 · 1 comment

Comments

@ov2k
Copy link

ov2k commented Jun 10, 2024

This is superficially similar to #668. When I click on a thumbnail, the viewport will sometimes jump to the top of the page. This is troublesome when disableScrolling: true. By sometimes, I mean that it seems to only occur when the viewport is scrolled at or near the bottom of the page. When the viewport is far enough above the bottom of the page, the problem does not occur.

I'm using lightbox2 v2.11.4. I've only observed this on Safari on iOS 17.5.1. It does not seem to affect Chrome or Firefox on Windows 10.

The workaround described in #668 works here as well. For now, you can see this at http://artwork.norman.soong.info, but I will probably implement the workaround at some point.

ov2k added a commit to ov2k/artwork.norman.soong.info that referenced this issue Jun 10, 2024
ov2k added a commit to ov2k/artwork.norman.soong.info that referenced this issue Jun 10, 2024
@ov2k
Copy link
Author

ov2k commented Jun 10, 2024

I implemented the workaround, but left the old version intact at http://artwork.norman.soong.info/issue753.

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

No branches or pull requests

1 participant