Failed To open dropdown menu in navbar
See original GitHub issueFailed To open dropdown menu in bootstrap navbar
Versions:
=> ElectronNET.CLI Version: 7.30.2.0 => .Net core 3.1 and node 13.11.0
Target:
Windows, Linux, Mac
details:
Hello I add a dropdown menu with bootstrap, when I test it in the browser it works normally, but when I open in the electronNET “browser” it just don’t work
the code is:
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Navbar</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Dropdown
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Bootstrap Dropdown menu is not working
I am having trouble getting my dropdowns to work. I can get the navbar to show up perfectly, but when I click on...
Read more >Why is my navbar dropdown not working in Bootstrap?
Here are a few common issues and solutions: 1. Incorrect HTML structure: Ensure that your HTML code for the navbar dropdown is structured...
Read more >Bootstrap 5 dropdown not working (SOLVED) - YouTube
Bootstrap 5 dropdown not working (SOLVED) ... Bootstrap 5 Navbar Toggle not Working ... Easiest Dropdown Hover Menu with HTML CSS Only.
Read more >How To Create a Dropdown Navigation Bar
Dropdown Menu inside a Navigation Bar. Hover over the "Dropdown" link to ... Use any element to open the dropdown menu, e.g. a...
Read more >Dropdowns · Bootstrap v5.1
Trigger dropdown menus at the right of the elements by adding .dropend to the parent element. Dropright.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you very much
Oh, I didn’t thought about that. I totally makes sense, It would take from the root directly! thanks