-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Mouse position is wrong when style:zoom is applied on the plotly-graph-div #6169
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
As you can see above, I'm using the latest version:
The code itself at the codepen example was also generated with the latest version (5.7.0) The bug I'm describing is not limited to a specific combination of packages. It occurs whenever plotly grapgh are zoomed. The part If you need any more information or if I can assist in the debugg, just let me know. I've posted the same issue at the plotly community: https://community.plotly.com/t/mouse-position-is-wrong-when-style-zoom-is-applied-on-the-plotly-graph-div/62932 |
Please note that the above loads last v1 not v2. Regarding |
Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson |
I've come across a problem with the hover info and selection positioning when using style:zoom on a plotly-graph created with the full_html=False statement.
The style:zoom function is used for example on a reveal.js-presentation, where several plotly graphs are included as div-objects instead of iframes. Since I can reproduce it without any code from that project, I posted it here.
I've uploaded a minimal example her:
https://codepen.io/lbrodersen/pen/XWVBXob
The graph itself is just the example scatter plot:
The outer div-element got the zoom, the rest is a minimal html file.
The resulting offset is visible here:

The text was updated successfully, but these errors were encountered: