Skip to content

plotly_legenddoubleclick never fires if plotly_legendclick return false #5350

Closed
@mmakrzem

Description

@mmakrzem

I would like to wire my own event handling when the legend is single clicked or double clicked.

I created the following demo: https://codepen.io/mmakrzem/pen/wvzdVaM

Notice that only the plotly_legendclick event triggers when I single or double click in the legend. The plotly_legenddoubleclick event never fires (because the plotly_legendclick is returning false).

If I double click I also wouldn't expect the plotly_legendclick event to fire.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions