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

Clicking on a gallery image snaps the view back to the top of the page #188

Open
Zichqec opened this issue Oct 15, 2023 · 3 comments
Open

Comments

@Zichqec
Copy link

Zichqec commented Oct 15, 2023

Clicking on a gallery image takes the view back to the top of the page. As my wiki positions galleries at the bottom of pages, which are sometimes long, this is very irritating. You can try it on this page.

gallery_issue

I very frequently want to get a closer look at an image, but not scroll through the entire gallery, so this greatly interrupts my browsing experience.

@splitbrain
Copy link
Owner

I can not reproduce this in the default dokuwiki template and have no idea what causes this in your template.

@johngnl
Copy link

johngnl commented Feb 13, 2024

I tried this on your page, and I can reproduce this. However, I think it has to do with the new way of work of the new version of this plugin. It doesn't seem to be a bug.

When you want to see the images in gallery mode, single click (left) on an image.
To zoom in, double click on the image, to zoom out again double click.
To go to the next image, use the arrow on the right. Or click on the image, keep the button pressed and swipe to the left keeping the arrow on the image. Do NOT click outside the boundaries of the image, because gallery mode will be closed.
The same applies to clicking just beside the arrow key. Only click when you (still) see the hand icon.

Hope this helps.

@Zichqec
Copy link
Author

Zichqec commented Feb 14, 2024

I tried this on your page, and I can reproduce this. However, I think it has to do with the new way of work of the new version of this plugin. It doesn't seem to be a bug.

When you want to see the images in gallery mode, single click (left) on an image. To zoom in, double click on the image, to zoom out again double click. To go to the next image, use the arrow on the right. Or click on the image, keep the button pressed and swipe to the left keeping the arrow on the image. Do NOT click outside the boundaries of the image, because gallery mode will be closed. The same applies to clicking just beside the arrow key. Only click when you (still) see the hand icon.

Hope this helps.

This unfortunately does not help my issue. The goal is to be able to enter and exit gallery mode at will without jumping to the top of the page every time, because sometimes you are reading something and need to see one of the images in a larger view, then exit to resume your reading. Having it jump to the top is extremely disruptive to user experience.

I do understand how to operate the lightbox mode, but my issue is not about operating lightbox mode, it's about what happens when you leave lightbox mode. And this issue did not happen on previous versions of the plugin; we used to be able to enter and exit lightbox mode just fine without the view moving.

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

No branches or pull requests

3 participants