krzysu / flot.tooltip

tooltip plugin for wonderful Flot plotting library
https://github.com/krzysu/flot.tooltip
187 stars 153 forks source link

Tooltip does not disappear on mobile when the screen scrolls, is there some way to fix this? #97

Open hezhijun opened 9 years ago

hezhijun commented 9 years ago

Hope you know what I mean, thanks. s1 s2

krzysu commented 9 years ago

I encourage you to try to solve it by yourself and send a pull request :)

Roundaround commented 9 years ago

@hezhijun If I understand the problem correctly from your screenshots, it looks like the tooltip is staying in the same fixed place as you scroll? It would be very helpful if you could confirm this!

hezhijun commented 9 years ago

@Roundaround Yes, it is exactly the problem. Do you know how to solve this problem? thanks in advance.

Roundaround commented 9 years ago

I don't know yet, but this information should prove useful in figuring out what's wrong. I'll take a look at it sometime in the next few days if I can find the time. :)

riklaunim commented 8 years ago

Can affect desktop too if you mouse move top, above the chart. Tooltip vanishes if cursor will exit the chart on sides or bottom.

riklaunim commented 8 years ago

Actually points close to top may get tooltip persist when moving cursor above chart and points close to bottom may get persistent tooltip when moving cursor below the chart.

Calling hideTooltip on chart container mouseout seems to fix it.