admin管理员组文章数量:1390890
Using a Bootstrap dropdown button inside of a card renders properly with Firefox. But when using Safari (on Desktop), the part of the menu that is outside of the card cannot be hovered or clicked.
The menu works as supposed to, when I move it outside of a card.
Fiddle demo
<html>
<head>
<link rel="stylesheet" href=".4.1/css/bootstrap.css" />
<link rel="stylesheet" href=".7.0/css/font-awesome.css" />
</head>
<body>
<main role="main" class="container">
<div id="content">
<div class="card-columns">
<div class="card bg-light">
<div class="card-body">
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Manage
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Link 1</a>
<a class="dropdown-item" href="#">Link 2</a>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<script src=".4.1/jquery.min.js"></script>
<script src=".js/1.16.0/umd/popper.js"></script>
<script src=".4.1/js/bootstrap.js"></script>
</body>
</html>
本文标签:
版权声明:本文标题:html - Dropdown Menu of Button inside a Card cannot be clickedhovered in Safari, but works in Firefox - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744661618a2618278.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论