Open Jjnnrr opened 11 months ago
Thanks for opening this issue, @Jjnnrr . I can confirm that I opened this Dash app on my mobile and encountered the same bug.
@alexcjohnson this is the mobile bug I mentioned to you several days ago.
Hey guys,Hope you are doing well. Just wanted to flag that I noticed the same issue with spike lines on touch interface. Spike lines are sticky even after the source graph is changed.Thanks 🙏 Best,Varun On Nov 20, 2023, at 10:21 PM, Adam @.***> wrote: Thanks for opening this issue, @Jjnnrr . I can confirm that I opened this Dash app on my mobile and encountered the same bug. @alexcjohnson this is the mobile bug I mentioned to you several days ago.
On touch interface, hover info displays when a data point is clicked. This is perfect. Although, the info seems to be sticky even after changing the source graph . I haven’t found a straightforward way to change this. I’ve tried using various parameters like
clear_on_unhover
,hoverData
,hoverinfo
,selectedpoints
. Looks like the interaction gets captured as a click on touch so I tried to work with properties likeclickData
.Below is a minimal working example and and some screenshots to illustrate. The app has a dropdown menu and an a graph. The graph changes with the dropdown selection. The hover info lingers even if the graph is change using the dropdown. Ideally, the label could disappear when the source graph is changed. This would be great for a touch interface friendly UX as the hover label is a nice way to pack in more info on a small display like mobile.
Thanks for looking into this! @Coding-with-Adam