Issues with Bootstrap 5 dropdown tabs
Created by: cpsievert
In this codepen, if you select one dropdown it'll 'activate' the other:
https://codepen.io/cpsievert/pen/xxgWQjp
Also, note that the codepen uses the following markup:
<ul class="dropdown-menu">
<a class="dropdown-item" href="#">Action</a>
</ul>
But, if you use the markup structure that the docs recommend, namely:
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Action</a></li>
</ul>
Then you'll get other, different, issues with the .active
class not being updated properly...