Just arrived here for the first time. Encountering an issue with my Bootstrap 5.1 Navbar menu. Background info: My website is hosted locally via Xampp with php pages for forms and cookies. Everything functions perfectly on desktop. Checked responsiveness on different devices using DevTools and the dropdown menu (collapsed navigation menu) works flawlessly. However, when testing on my S21 Ultra and Tab S6 with the locally hosted server, the hamburger toggler appears but does not drop down the menu. Tried removing the button icon to check if the button is toggling, and it is, but it doesn't seem to change the navbar values as it does on desktop or DevTools. I've tried everything. Code is up-to-date and Bootstrap js and css are in the correct locations. Please assist.
<nav class="navbar navbar-expand-lg navbar-light">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown"
aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span><i id="s1-title-navbar-toggler" class="fas fa-chevron-down"></i></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item dropdown">
</li>
<li class="nav-item">
<a class="nav-link" href="REDACTED.php">REDACTED</a>
</li>
<li class="nav-item">
<a class="nav-link" href="REDACTED.php">REDACTED</a>
</li>
<li class="nav-item">
<a class="nav-link" href="REDACTED.php">*REDACTED*</a>
</li>
<li class="nav-item">
<a class="nav-link" href="REDACTED.php">*REDACTED*</a>
</li>
</ul>
</div>
</nav>
Operates smoothly on desktop and mobile view in DevTools on Chrome. Any CSS changes are limited to color and size so they shouldn't cause interference. All other buttons on the site are functional. Unsure about the next steps.
Just need the drop-down menu to open on mobile devices.