krzysu / flot.tooltip

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

Default z-index is under Bootstrap's modal. #58

Open kyourek opened 10 years ago

kyourek commented 10 years ago

The default theme's z-index of '100' is less than the z-index of Bootstrap's modal dialog, causing the tooltip to be hidden when the default theme is used for plots shown in a modal.

The minimum z-index I used to make the tooltip visible was '1040' (which is the z-index of Bootstrap's .modal class).

This issue is easily rectifiable by altering the z-index on either the tooltip or the modal, but, with the popularity of Bootstrap, it might be a good idea to have tooltips in modals "just work".

awmeade commented 9 years ago

This issue seems to have returned with Bootstrap 3. Tooltips are hidden with the 1040 index value. When I made them arbitrarily large (e.g., 1240), they reappeared.

briedis commented 9 years ago

+1 .tooltip { z-index:1240; } helps!

tomascharad commented 9 years ago

+1!!

brandonrohde commented 7 years ago

+1!

Carenthir commented 7 years ago

In my version of the plugin, the actual class is called "flotTip". So for me, this helped : .flotTip { z-index: 9999 !important; }

nam-bash commented 5 years ago

+1 .tooltip { z-index:1240; } also work's for me