我的问题是当弹出窗口时它始终保持在滚动内部。因此,当我需要查看popover内容时,我需要向下滚动然后我才能看到它。我用z索引。但我无法显示滚动的弹出窗口。我使用角度弹出。
如果我使用固定位置而不是绝对位置,它总是打开窗口的方面,我不想要它。
答案 0 :(得分:1)
This is an aspect of how CSS works. You are using incompatible CSS techniques. A child element (popover) that is absolutely positioned cannot be rendered outside a parent element boundary with overflow restrictions (hidden or scroll). The overflow property tells the browser to enforce rendering restrictions on all child elements except ones with "fixed" position.
If you show your code, we can probably help you achieve your goal with some modifications.
Edit
With the example provided, all that needs to be done is to add a CSS rule to the .sectionone element for position: static
.sectionOne {
position: static; // solution
overflow-x: scroll; // in example provided
}
.table {
width:1000px; // in example provided
}