mistic100 / Photo-Sphere-Viewer

A JavaScript library to display 360° sphere panoramas.
https://photo-sphere-viewer.js.org
MIT License
1.81k stars 646 forks source link

Panorama stuck at initial view #1344

Closed f3k-freek closed 2 days ago

f3k-freek commented 4 days ago

Describe the bug

I'm not able to "move" the panorama on both my own deployment and the demos on https://photo-sphere-viewer.js.org/demos/

Neither dragging nor markersPlugin.gotoMarker() seems to work. I've tested this on multiple macbooks in different browsers (brave, firefox, safari).

The markers do detect hovering.

Online demo URL

https://photo-sphere-viewer.js.org/demos/basic/0-config.html

Photo Sphere Viewer version

5.7.0

Plugins loaded

No response

OS & browser

MacOS Brave

Additional context

No response

webmazz commented 4 days ago

I think it's the fault of the three.js new version.

When I changed "three": "https://cdn.jsdelivr.net/npm/three/build/three.module.js", to "three": "https://cdn.jsdelivr.net/npm/three@0.165.0/build/three.module.js", everything started working again.

mistic100 commented 4 days ago

I don't see any breaking changes in the changelog of version 166 but I will investigate and fix this while merging https://github.com/mistic100/Photo-Sphere-Viewer/pull/1343

The NPM package points to three 165 so should be an non-issue for such users.

mistic100 commented 2 days ago

A solution has been found, I just wait a few days to know if this is the only way to do it.
https://github.com/mrdoob/three.js/pull/28533#issuecomment-2205843379

github-actions[bot] commented 1 day ago

This feature/bug fix has been released in version 5.8.2.