Investigating the cause of failure for plotly_click to work sometimes when animations are taking place. Tracing through things:
Fx.click firesgd._hoverdata is undefined sometimesInvestigating the further causes…
cc @bpostlethwaite
I'm having a lot of trouble coming up with a sequence of events that reproduces this 100% of the time, but the problem definitely seems to be the way hoverdata is set. It seems like maybe it's set on mousemove and the used on click. Need to investigate further. I suspect the cause is that I'm simply failing to set it 100% of the time when animation changes the hoverdata.
cc @etpinard I might need some help to get to the bottom of this (tomorrow)
cc @etpinard I might need some help to get to the bottom of this (tomorrow)
I hope 8 days later is ok too :smile:
Haha, yup!
Update. Have isolated a better example. Working on debugging.
@rreusser does https://github.com/plotly/plotly.js/pull/1304 indeed close this issue?
I'll try to do a better job of catching related issues!