twitter-bootstrap - 表格内的弹出窗口响应被剪裁

标签 twitter-bootstrap css twitter-bootstrap-3 datatables

Bootstrap 3,弹出窗口被裁剪在表格中,这些表格被包裹在 table-responsive 中。我尝试了很多方法,例如将 table-responsive 类设置为 overflow-y: visible; 但没有任何帮助。希望有人能指出我正确的方向。

enter image description here

编辑: 不确定这是否有任何区别,但我还使用 Datatables 来显示表格。不过,老实说,我看不出有任何问题。

编辑2: https://jsfiddle.net/ujj3zkdq/

最佳答案

给弹出元素添加z-index。例如:z-index:1111;

Update:

Replace the function with this. You can change the placement as top, right, left or auto.

$(function() {
    $('table').DataTable({
       paging: false,
       searching: false,
       lengthChange: false
    });

    $('[data-toggle=popover]').popover({
       placement: "right",
       trigger: 'focus'
    });
});

关于twitter-bootstrap - 表格内的弹出窗口响应被剪裁,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38066983/

相关文章:

html - Bootstrap navbar-collapsed 缩小后不保留背景

javascript - 可折叠面板无法正常工作

css - Internet Explorer PNG CSS 不透明度问题

html - 一种 Font Awesome 图标未显示,尽管其他字体显示

css - 同时在父子 div 中实现平滑的缩放过渡

html - css3 规则在 i 元素后隐藏文本

javascript - Bootstrap-Tour RTL Popover 位置

javascript - 如何为每个 block 设置一个事件类? [Javascript]

twitter-bootstrap - 将 Bootstrap 与 Ember.js 一起使用

html - 框阴影不适用于 2 个相邻的 div