Skip to content

Plotly_unhover not triggered following restyle in plotly_hover in Pie Charts #3618

Closed
@PaulRCooper

Description

@PaulRCooper

Hi,

I found a issue with restyling the chart in plotly_hover events stops the triggering of plotly_unhover event and also stops the hover text from disappearing. Please note it works in other chart types.

I have created an example showing the issue with the first chart showing the issue, a second chart without restyling and a third showing it working with restyling in a Bar Chart. In all cases I have added code to write "hover" or "unhover" to the console in the appropriate event.

Example web-page can be found here: https://jsbin.com/pavopaq

Activity

PaulRCooper

PaulRCooper commented on Mar 13, 2019

@PaulRCooper
Author

No love for this one? Is more information required?

antoinerg

antoinerg commented on Mar 13, 2019

@antoinerg
Contributor

Thank you @PaulRCooper for clearly reporting this issue!

self-assigned this
on Mar 18, 2019
added a commit that references this issue on Mar 22, 2019

fix #3618 edge for pie and sunburst

e1084fa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @antoinerg@etpinard@PaulRCooper

      Issue actions

        Plotly_unhover not triggered following restyle in plotly_hover in Pie Charts · Issue #3618 · plotly/plotly.js