I have encountered an issue where the bootstrap 5.1.3 data-bs-toggle feature is no longer functioning properly. For example:
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" datadat-bs-toggle="dropdown" aria-expanded="false">
Dropdown
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
</ul>
</li>
When attempting to use data-bs-toggle="dropdown", it seems to not work as expected. Has anyone else experienced this issue and what could be causing it? Could there be a bug in version 5.1.3? For more information, you can refer to the official Bootstrap page for this NavBar component example: https://getbootstrap.com/docs/5.1/components/navbar/