Tooltips don't clear on IE8

余生颓废 提交于 2019-12-13 01:35:22

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/16104345/tooltips-dont-clear-on-ie8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!