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

Hover issues in pie charts when config reactivity is enabled #12

Open
Quacken8 opened this issue Sep 3, 2024 · 0 comments
Open

Hover issues in pie charts when config reactivity is enabled #12

Quacken8 opened this issue Sep 3, 2024 · 0 comments
Labels
bug Something isn't working help wanted PRs are welcome!

Comments

@Quacken8
Copy link

Quacken8 commented Sep 3, 2024

There appears to be some sort of a race condition in pie charts specifically that screws up reactivity. Usually on hover a non static plot would show both toolbar buttons and tooltips for hovered points. With the workaround enabled, however, these two effects get decoupled and you either get no toolbar or no tooltips on hover.

<main>
  <Plot data={pieData} configReactivityStrategy="static-plot" /> <!-- on hover shows buttons, not tooltips -->
  <Plot data={pieData} config={{ staticPlot: true }} /> <!-- on hover shows tooltips, not buttons -->
  <Plot data={pieData} configReactivityStrategy="none" /> <!-- on hover shows everything -->
</main>

@cshaa cshaa added bug Something isn't working help wanted PRs are welcome! labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted PRs are welcome!
Projects
None yet
Development

No branches or pull requests

2 participants