chronoline.js icon indicating copy to clipboard operation
chronoline.js copied to clipboard

Revisit qtip in IE

Open StoicLoofah opened this issue 11 years ago • 2 comments

http://kevinleung.com/archives/introducing-chronoline-js-a-javascript-library-for-timelines/comment-page-1/#comment-5526

Apparently it works in IE9, but I need to investigate IE8 again to see why I disabled it

StoicLoofah avatar Aug 01 '13 07:08 StoicLoofah

Okay, lots of investigation, and major props to arfa for their help on this ticket.

The bad news: there's a bug in Raphael.js 2.1.0 where title attributes don't show correctly in IE9. This is being addressed in 2.1.1, but that hasn't been released yet, so that's pending a fix there https://github.com/DmitryBaranovskiy/raphael/pull/503

The good news: because I was investigating this, I discovered that the tooltips problem in IE8 was because Raphael was using VML in IE8, which is structured somewhat differently. So, IE is now allowed to have tooltips, and I use feature detection to determine how to do it.

I'll fix IE9 when Raphael 2.1.1 is released. It might still not work in IE9, but at least it removes a confound for me.

d69b27d6927e8e05a358aeaedb6876c0521c7253

StoicLoofah avatar Aug 05 '13 17:08 StoicLoofah

Revisited this one when a user reported that tooltips don't work in IE11, either.

The good news i that raphael.js 2.1.2 is out with fixed titles. The bad news is that that didn't help us with IE, at least for qtips. It did allow browser tooltips to appear, but the hover state for qtip still isn't triggering.

If IE is important, the best workaround at the moment is getting browser tooltips, which you can get with

  1. update raphael
  2. change the code to put the tooltip on the element itself and never the parent

I'll continue to monitor when I remember for a solution.

StoicLoofah avatar Aug 14 '14 02:08 StoicLoofah