有两个可滚动的div,如下图所示。
The Yellow Div Css:
while (it.hasNext()) {
it2.append(it.next); // just fill a new Iterable (if you can)
}
父滚动条是ng-scrollable指令。
#workbench-container #workbench md-content .folder .folder-notes {
height: auto;
max-height: 200px;
overflow: auto;
width: 100%;
}
您能否建议单独滚动两个div内容。
我尝试将以下
添加到控制器中<div ng-scrollable="{scrollX:'none',scrollY:'right'}" style="width: 100%; height: 600px;">
当滚动子div(黄色框)时,父滚动也在一起滚动。需要只滚动放置鼠标的div。?
答案 0 :(得分:0)
让两个孩子而不是一个孩子。
使两个子卷轴,基本上可以使用相同的CSS。
可以将孩子放在父<tr><td><child1></child1></td><td><cdhild2></child2></td></tr>
将孩子放在你父母的滚动div中。