[英]scroll show but wont work in div inside an absolute div inside a fixed menu
Im using sb admin dashboard for my project我为我的项目使用 sb 管理仪表板
and right at alert center where i list my alerts, i made the overflow scroll apear but wont work with the whell.就在我列出我的警报的警报中心,我使溢出滚动出现但无法正常工作。 works only if you click or drag.
仅当您单击或拖动时才有效。
never seen something like it...it is inside an absolute and inside another fixed position从未见过类似的东西...它在绝对内部和另一个固定 position 内部
(i realize that in remark dashboard the overflow scroll works great inside the alert) (我意识到在备注仪表板中,溢出滚动在警报中效果很好)
however it may seen activated by a js但是它可能会被 js 激活
thanks for any help in advance...提前感谢您的帮助...
<div class="navbar" style="position:fixed;width:100%;top:0;">
<li style="position:relative">
<a href="" class="nav-link">
icon-for-alert
</a>
<div class="dropdown-list" style="position:absolute;width:360px">
<h6 class="dropdown-header">Alerts</h6>
<div class="dropdown-body" style="height:270px;overflow:auto;">
<a href="#">
<span>stuff</span>
</a>
<a href="#">
<span>stuff</span>
</a>
<a href="#">
<span>stuff</span>
</a>
<a href="#">
<span>stuff</span>
</a>
</div>
<a class="dropdown-item" href="#">
See All
</a>
</div>
</li>
</div>;
it was a js conflict from another file.这是另一个文件的js冲突。 thankyall
谢谢你
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.