Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Discerning when a click has occurred when you have both hoverData and clickData inputs in your callback

$
0
0

Is there a way to determine when a click has occurred when you have both hoverData and clickData inputs? The callback will be triggered constantly during mouse movement so there’s no obvious way to discern a click event from a hover event.

I tried putting the clickData input in a separate callback but I need to store the results of it into dcc.Store and apparently only one callback in the app can output into storage–?!? I’m obviously confused about something, because this seems to mean that you can’t modify session state from multiple callback areas in your app–?

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images