Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

dcc.graph only triggers one click event on the same scattermapbox marker in sequence #1005

Description

@strokovnjaka

I have a dcc.Graph(id="graph", style={'width': '100%', 'height': '100vh'}) consisting of a fig = px.choropleth_mapbox(...) with added trace fig.add_trace(go.Scattermapbox()).

The callback that has graph's input Input('graph', 'clickData'), triggers only on the first click on a certain marker, subsequent clicks are ignored. However, clicking another marker does trigger an event, and then the first click to the the original marker again triggers an event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions