Skip to content
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

Right click triggers drag event on some machines & fails to fire plotly_click #7398

Open
ixxie opened this issue Mar 31, 2025 · 2 comments
Open
Labels
bug something broken P2 considered for next cycle

Comments

@ixxie
Copy link

ixxie commented Mar 31, 2025

Right clicking charts doesn't fire the plotly_click event on my machine. Here is a minimal stackblitz reproduction. The examples in the docs behave the same for me.

Instead, it seems right click opens the default context menu and starts a drag, and when I click elsewhere I get the event firing for the second click, and then the chart zooms:

Image

It seems this bug only occurs in certain machines:

  • I'm running NixOS with a Gnome desktop and reproduce the bug in Firefox and Chrome.
  • A colleague on Windows with Chrome did not reproduce
  • I failed to reproduce on my partner's Ubuntu machine with Firefox.

Likely related to:

Possibly related to:

@ixxie ixxie changed the title Right clicking a chart doesn't fire plotly_click Right clicking a chart doesn't fire plotly_click on some machines Mar 31, 2025
@ixxie ixxie changed the title Right clicking a chart doesn't fire plotly_click on some machines Right click triggers drag event on some machines & fails to fire plotly_click Mar 31, 2025
@gvwilson gvwilson added bug something broken P2 considered for next cycle labels Apr 8, 2025
@gvwilson
Copy link
Contributor

gvwilson commented Apr 8, 2025

thanks @ixxie - can you please let us know the version of plotly.js you are using?

@ixxie
Copy link
Author

ixxie commented Apr 9, 2025

thanks @ixxie - can you please let us know the version of plotly.js you are using?

Well, you can see in the package.json of the reproduction: its version 3.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P2 considered for next cycle
Projects
None yet
Development

No branches or pull requests

2 participants