Tooltips don't clear on IE8

2019-07-25 13:10发布

I'm building an application using Highcharts and need to support IE8 for a large enterprise customer.

This is the issue I'm seeing. Whenever I hover over a point the tooltip shows up as expected. However, when I move the mouse away the border of the tooltip remains. This happens for every point, so I end up with several partial tooltips on the chart. If I hover over the same point again, I get another tooltip. See the picture for an example. (I'd make a fiddle, but jsfiddle doesn't support IE8).

I've tried grouping tooltips, but this doesn't seem to help. I've removed any tooltip formatters, but that doesn't seem to help either. I'd love to support tooltips on IE8. Any ideas what's happening and how to fix it?

enter image description here

1条回答
做自己的国王
2楼-- · 2019-07-25 13:36

Found it! I didn't specify a doctype, so the page was rendering in IE8 Quirks mode. I added <!doctype html> to change to Standards mode and this resolved the issue.

查看更多
登录 后发表回答