Navbar is always collapsed
See original GitHub issueMost certainly it’s an issue in my code but in this example, the navbar is always collapsed as noted by some other bootstrap 4 users.
<div id="app">
<b-navbar toggleable="sm" type="inverse" variant="inverse" fixed="top" sticky>
<b-nav-toggle target="nav_collapse"></b-nav-toggle>
<b-navbar-brand to="/">Navbar</b-navbar-brand>
<b-collapse id="nav_collapse" is-nav>
<b-nav is-nav-bar>
<b-nav-item href="#">Link</b-nav-item>
<b-nav-item href="#" disabled>Disabled</b-nav-item>
</b-nav>
<b-nav is-nav-bar class="ml-auto">
<b-nav-item-dropdown text="Lang" right>
<b-dropdown-item href="#">EN</b-dropdown-item>
<b-dropdown-item href="#">ES</b-dropdown-item>
<b-dropdown-item href="#">RU</b-dropdown-item>
<b-dropdown-item href="#">FA</b-dropdown-item>
</b-nav-item-dropdown>
</b-nav>
</b-collapse>
</b-navbar>
<div class="container pt-3 pb-3">
<router-view></router-view>
</div>
</div>
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Why is the Bootstrap Navbar always collapsed? [duplicate]
In Bootstrap 4, the navbar-expand* class is needed if you want the navbar to expand horizontally, otherwise it defaults to the mobile/collapsed ......
Read more >Bootstrap 4 Navbar Always Collapsed on Codeply
New nav for Bootstrap 4 beta that is always collapsed like the mobile menu. How to always show the hamburger menu. Codeply example....
Read more >How to make the navbar always collapsed in Bootstrap - Quora
One way would be using the CSS attribute “position: fixed;”. That will remove it from the flow of the page, and fix it...
Read more >Navbar - Bootstrap
For navbars that always collapse, don't add any .navbar-expand class. Toggler. Navbar togglers are left-aligned by default, but should they follow a sibling ......
Read more >Always collapsed navbar · Issue #4174 · react-bootstrap/react ...
Hi,. Upstream bootstrap supports having a navbar that is always collapsed. ... I didn't find a way to make react-bootstrap behave like the ......
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
Bootstrap-Vue v1.0.0.beta.x used the beta versdion of bootstrap CSS, not the alpha version.
You need bootstrap 4.0.0.-beta
It all depends on how you are building your project.
If you are not using a build system, you can use script and link tags to pull it in, or if you are using a build system, you need to bring them in as dependencies.