Skip to content

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

@Quacken8

Description

@Quacken8

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedPRs are welcome!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions