Bootstrap Tooltip working but hidden due to z-index?

后端 未结 8 1192
孤城傲影
孤城傲影 2021-01-31 14:03

If you hover over the first pencil, you can see the tooltip coming up but it\'s hidden.

How can I tell all tooltips to show up above everything else?

Relevant c

相关标签:
8条回答
  • 2021-01-31 14:56

    Just set data-container.

    <a href="#" data-toggle="tooltip" data-container="body" title="first tooltip">
    hover over me</a>
    
    0 讨论(0)
  • 2021-01-31 15:01

    This is best solution if you are using angular uib-bootstrap: Use dependency injection for $uibTooltipProvider, you can change the way tooltips and popovers behave by default; the attributes above always take precedence:

    $uibTooltipProvider.options({
      appendToBody: true
    });
    
    0 讨论(0)
提交回复
热议问题