Skip to content

Adding plotly_click event handler to surface 3d chart that calls window.open causes weird camera changes #5590

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

Closed
Madman600 opened this issue Apr 15, 2021 · 2 comments

Comments

@Madman600
Copy link

I'm trying to open a new browser window when I click on a plotly 3d surface chart. When the chart is clicked and the new window opens, however, the chart does some crazy rotation moves. You can see in this codepen, just click around on the chart a few times.

https://codepen.io/APRRT/pen/YzNvVvW

@Madman600
Copy link
Author

I think what's happening is sometimes when you click you might drag a little which does some weird things when the focus is lost. But shouldn't "plotly_click" be fired after a mouse up? It's firing on the mouse down.

@gvwilson
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants