When there is no room at the bottom of the viewport to fit dropdown menu, it is displayed at the top of its dropdown button. Is it possible alter this behavior and make dropdown
Completely disable Popper.js dynamic positioning by setting data-display="static"
on dropdown-toggle
element (button or link) .
From Bootstrap Docs > Dropdowns: Options:
By default, we use Popper.js for dynamic positioning. Disable this with static.
.window {
height: 8em;
overflow: auto;
margin: 1em;
padding: 1em;
border: 10px solid #DFEAF2;
}