bs4 scrolling dropdown menu code example
Example 1: scroll dropdown bootstrap
<ul class="dropdown-menu scrollable-menu" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li><a href="#">Action</a></li>
..
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
</ul>
Example 2: scroll dropdown bootstrap
.scrollable-menu {
height: auto;
max-height: 200px;
overflow-x: hidden;
}