【问题标题】:tooltip inside a dropdown-menu is hiding below dropdown下拉菜单中的工具提示隐藏在下拉菜单下方
【发布时间】:2017-08-30 16:54:41
【问题描述】:

我有下拉菜单,在其中我在文本悬停时显示工具提示。但它显示在下拉列表下方,尽管工具提示的 z-index 大于它的父下拉列表。

【问题讨论】:

标签: html css angular2-directives


【解决方案1】:

尝试将container 设置为body.. 像这样:

$(selector).tooltip({
    container: 'body' //<--- use the container option
});

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-07-01
    • 1970-01-01
    • 2018-08-18
    • 2014-03-31
    • 1970-01-01
    • 1970-01-01
    • 2017-12-16
    相关资源
    最近更新 更多