Open StrongPa55word opened 5 years ago
I found the quickest way to fix this was to adjust the breakpoint variable that bootstrap uses by default. It uses @screen-sm-min
(causing it to uncollapse at 768px). I changed it to @screen-md-min
(causing it to uncollapse at 992px).
To do this, I added the following at the bottom of the variables.less file of our Rock install, then compiled the theme.
//** Point at which the navbar becomes uncollapsed.
@grid-float-breakpoint: @screen-md-min;
//** Point at which the navbar begins collapsing.
@grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
Navbar collapse is not working on pixel 3XL, ipad . On Ipad the aria-expanded always resets back to
true
<button class="navbar-toggler navbar-toggler-right collapsed" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"> Menu <i class="fa fa-bars"></i> </button>