i am facing issue with ctx.triggered value. I have a callback which can be triggered if any of my 3 dropdowns are clicked or the points on scattermapbox graph is clicked. I execute the logic based on which control caused the callback to trigger and i check this by this code:
if ctx.triggered:
control_id = ctx.triggered[0][‘prop_id’].split(’.’)[0]
The code works alright for all drop downs and control_id is appropriately updated. However for scattermapbox the control_id sometimes is correctly updated with the id of the scattermapboxgraph but at times it doesn’t get updated at all no matter how many times the points on graph are clicked. I have to reset the application for it to work again. This is a very bizarre problem and i can’t understand how can get over this? Please someone can help.