.navbar-nav dropdowns can only be closed by tapping their .dropdown-toggle on touch devices
Created by: elstgav
On the mobile navbar, dropdowns are set to position: static
to override the absolute
position they normally have. However this prevents the dropdown from having a z-index. The z-index is necessary to ensure the dropdown's contents appear above the .dropdown-backdrop
on mobile.
To fix, set the mobile dropdowns to position: relative
;
@media (max-width: @grid-float-breakpoint-max) {
// Dropdowns get custom display when collapsed
.open .dropdown-menu {
position: relative;
…
}
}