-
-
Notifications
You must be signed in to change notification settings - Fork 695
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
plugin:Gallery-plugin wheel event on laptop(like mac), swipe event seem weird #1090
Comments
So what must be done ? |
do you have a video of what happens ? |
I fork a demo here (bad usage of same panorama but gallery works): on TouchPad swipe(mainly left and right), the scrollbar go forward and back, sometimes(swipe fast) back to the first item. If just "up&down" swipe supported, disable "left&right" swipe may be better? |
Please provide a video, I do not have a Mac and with a standard pad there is no problem. disclaimer : this will probably end with "wontfix" and "help needed" because I just cannot debug Apple specifics |
Ok, that's fine. I uploaded a video, in the 4th seconds, I actually do is a 'swipe right' action |
I don't think there is a specific peoblem with your track pad, upon testing even when using a standard mouse wheel the scroll distance is way higher than expected. |
This feature/bug fix has been released in version 5.4.3. |
Describe the bug
If TouchPad on laptop will be supported, only add deltaY * 50 to scrollLeft seems not enough, WheelEvent will be triggered too many times
Online demo URL
https://codesandbox.io/s/brave-matsumoto-7j77cd
Photo Sphere Viewer version
5.4.2
Plugins loaded
gallery-plugin
OS & browser
Mac, chrome
Additional context
No response
The text was updated successfully, but these errors were encountered: