I am in the process of constructing a webpage utilizing Bootstrap 4 Shards. I have several dropdowns, some of which are initially hidden using .d-none. The issue arises when these dropdowns start adding height to the document as they unhide, causing the position of the dropdowns to be restricted within the initial viewport height. This prevents any dropdowns from displaying below the end of the browser window upon page load. Is there a workaround for this problem? (I am using Popper, bootstrap.min, and shards.min with no additional customizations).
Below is an example of a row with dropdowns, showcasing the problem that occurs when multiple rows are stacked vertically:
<div id="pair-1" class="row p-3 ml-2 mr-2 border-bottom ">
<div class="col-1 text-right mt-3">
Pair 1:
</div>
<div class="col-2 text-right">
<button class="btn btn-success btn-lg dropdown-toggle w-100" type="button" data-toggle="dropdown">
Driver gear
</button>
<div class="dropdown-menu pre-scrollable" x-placement="bottom-start"><a class="dropdown-item" href="1"><img src="images/gears/gear1.png" class="mr-2">1 tooth</a><a class="dropdown-item" href="8"><img src="images/gears/gear8.png" class="mr-2">8 teeth</a><a class="dropdown-item" href="12"><img src="images/gears/gear12.png" class="mr-2">12 teeth</a><a class="dropdown-item" href="14"><img src="images/gears/gear14.png" class="mr-2">14 teeth</a><a class="dropdown-item" href="16"><img src="images/gears/gear16.png" class="mr-2">16 teeth</a><a class="dropdown-item" href="20"><img src="images/gears/gear20.png" class="mr-2">20 teeth</a><a class="dropdown-item" href="24"><img src="images/gears/gear24.png" class="mr-2">24 teeth</a><a class="dropdown-item" href="28"><img src="images/gears/gear28.png" class="mr-2">28 teeth</a><a class="dropdown-item" href="36"><img src="images/gears/gear36.png" class="mr-2">36 teeth</a><a class="dropdown-item" href="40"><img src="images/gears/gear40.png" class="mr-2">40 teeth</a><a class="dropdown-item" href="56"><img src="images/gears/gear56.png" class="mr-2">56 teeth</a><a class="dropdown-item" href="60"><img src="images/gears/gear60.png" class=&...