-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
UX: The "Back" and "Forward" buttons of the mouse are misused for "Drag/Zoom" when viewing an image in Google Chrome #3542
Comments
@fireattack This sounds more like a UX issue than a bug to me (and it's the first time this has been reported), but we're happy to improve it if we can, at least in the new viewer that we're going to build. At the moment we are using PhotoSwipe 4 as a viewer, which is a standard JS component and not maintained by us:
That would help us get a better understanding. Also, you should check if you have a special mouse driver installed, or use custom settings for your mouse or browser. Thank you very much! 🤗 |
It looks like it has been reported by others there: dimsemenov/PhotoSwipe#1743 Since ver.4 is no longer updated, one has to fix the bug themselves, such as in this fork andi34/PhotoSwipe@bffac8f. (I don't encounter the bug in ver. 5 demo they have.) |
Thank you very much, that is very helpful! Would it be acceptable for you if we fix this at a later time, for example when working on our new media viewer? We need to focus on merging the open pull requests next and should then take care of important security related issues like 2FA, leaving little time to work on UX issues in the short term. We also shouldn't use a fork without having time to test it well. |
Yeah no problem, take your time. |
So, does this feature wait for the new media viewer? I saw that a lot of small fixes and enhancements are opened for the media viewer and all of these should better be fixed in the new media viewer. I would be happy to work on this home-made viewer :) |
1. What is not working as documented?
When viewing a specific photo, all the buttons on mouse are treated as "drag/zoom". This includes left button, right button, middle button, back button and forward button.
This is pretty uncommon and IMO does not make sense. It should be one button (usually left button) only, or at most left and right buttons. And it definitely shouldn't override back and forward buttons.
2. How can we reproduce it?
Steps to reproduce the behavior:
(Optional) you can also drag (pan) image around by holding back/forward button.
3. What behavior do you expect?
Go back.
The issue seems to be Chrome/Chromium-based browser only: can reproduce on Chrome and Edge.
I cannot reproduce it on Firefox.
The text was updated successfully, but these errors were encountered: