dash-core-components icon indicating copy to clipboard operation
dash-core-components copied to clipboard

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

Open strokovnjaka opened this issue 2 years ago • 0 comments

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.

strokovnjaka avatar Jan 23 '23 13:01 strokovnjaka