-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Orthographic projection + zoom breaks hover and Plotly.restyle #4514
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
Comments
@Luthaf please confirm that this gif corresponds to the problem you're describing. |
... and thanks very much for reporting, something wrong is indeed happening when hovering after zoom |
For the hover part, yes. There is also the issue with Plotly.restyle resetting the camera, which you can trigger by clicking on a point. |
All gl3d traces are affected by this bug. |
Thanks for the fix, the hover issue seems to be fixed =)
The zoom reset on Restyle seems to still be here on the updated version: https://codepen.io/MojtabaSamimi/pen/WNvbzZp?editors=1000 To trigger it, zoom and then click on a point. The camera resets to the default view. |
Thanks a lot @archmoj ! |
See https://codepen.io/luthaf/pen/oNgmavz
After zooming, the hover label no longer correspond to the mouse cursor position:

Additionally, if I try to call Plotly.restyle after zooming, the camera resets to the default position. I don't know if this is intended or accidental.
Maybe related to #4239
The text was updated successfully, but these errors were encountered: