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.
I have a
dcc.Graph(id="graph", style={'width': '100%', 'height': '100vh'})
consisting of afig = px.choropleth_mapbox(...)
with added tracefig.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.