I am experiencing an issue with my navigation menu. The 'News' link works correctly, but when I try to access the dropdown menus for "Bulgaria" and "International", they do not appear as expected. Despite having the same code structure, there seems to be no apparent reason for their malfunction.
Below is the code snippet for my navigation bar:
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
<div class="container-fluid">
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">NewsWebsite</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse d-sm-inline-flex justify-content-between">
<ul class="navbar-nav mr-auto">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink-News" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
News
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink-News">
<a class="dropdown-item dropdown-toggle" href="#" id="navbarDropdownMenuLink-Bulgaria" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Bulgaria
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink-Bulgaria">
<a class="dropdown-item" href="#">Dunavmost</a>
<a class="dropdown-item" href="#">Petel</a>
</div>
<a class="dropdown-item dropdown-toggle" href="#" id="navbarDropdownMenuLink-International" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
International
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink-International">
<a class="dropdown-item" href="#">NY Times</a>
<a class="dropdown-item" href="#">DragonFire</a>
</div>
</div>
</li>
</ul>
<partial name="_LoginPartial" />
</div>
</div>
</nav>