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

Enable wheel and right click for Sunburst chart #7311

Open
marcus-maro opened this issue Dec 13, 2024 · 1 comment
Open

Enable wheel and right click for Sunburst chart #7311

marcus-maro opened this issue Dec 13, 2024 · 1 comment
Labels
feature something new P2 considered for next cycle

Comments

@marcus-maro
Copy link

On most plot types, the plotly_click event is fired on left, wheel, and right clicks. (By default, right clicking will trigger the browser's default contextmenu event but that can be disabled by wrapping the plot in a div that prevents the default event.) However, this does not seem to be the case for sunburst charts (see this comment in the onClick definition).

Is it possible to add functionality such that the plotly_click (or plotly_sunburstclick) event is fired on all three click types?

@marcus-maro marcus-maro changed the title Enable right-click for Sunburst chart Enable wheel and right click for Sunburst chart Dec 13, 2024
@gvwilson gvwilson added feature something new P2 considered for next cycle labels Dec 16, 2024
@gvwilson
Copy link
Contributor

Thanks for spotting this @marcus-maro - I'll see if we can find someone to tackle it in Q1 2025. If you have time and would like to put together a pull request, we'd be happy to prioritize review. Thanks - @gvwilson

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

No branches or pull requests

2 participants