You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one right clicks on the viewer, the browser context menu opens. Only if one closes this at the same spot with a right click, a right-click-event gets fired. If one moves the mouse instead, the viewer rotates with it.
Correct me if I'm wrong, but I believe, this wasn't always the case. I have a running 5.5.2 instance, where the context menu doesn't open and the event gets fired immediately. I can't remember to have done anything in order to create this behaviour.
In the fiddle below, I attached a click event listener on the viewer which prints if the click was a right click or not.
I couldn't get a new instance with 5.5 running in JSFiddle, otherwise I would have loved to show the difference...
Describe the bug
If one right clicks on the viewer, the browser context menu opens. Only if one closes this at the same spot with a right click, a right-click-event gets fired. If one moves the mouse instead, the viewer rotates with it.
Correct me if I'm wrong, but I believe, this wasn't always the case. I have a running 5.5.2 instance, where the context menu doesn't open and the event gets fired immediately. I can't remember to have done anything in order to create this behaviour.
In the fiddle below, I attached a click event listener on the viewer which prints if the click was a right click or not.
I couldn't get a new instance with 5.5 running in JSFiddle, otherwise I would have loved to show the difference...
Online demo URL
https://jsfiddle.net/ztsd43c1/
Photo Sphere Viewer version
5.11.4
Plugins loaded
No response
OS & browser
Debian 12, Firefox 128.5.0esr / Chrome 131.0.6778.204
Additional context
No response
The text was updated successfully, but these errors were encountered: