Using tooltips together with jQuery popup: Here's a z-index fix

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Per Englund on 21st April 2016
There is a "bug" in the RGraph.common.tooltips.js, if used in a JQuery popup(blockUI), the tooltip shows "under" the popup.

There is an easy fix in RGraph.common.tooltips.js.
Set = <a high number>;
somewhere after row 30.

Posted by Richard on 21st April 2016

It doesn't matter what I set the z-index to - someone will use a higher one when in a situation like yours.

There is an easy solution though - and that's to create a custom CSS class like this:

.RGraph_tooltip {
     z-index: 999;

Though I might add the ability to set CSS properties in the configuration that are applied to the tooltip.


Add a reply

« Back to message list