Cannot scroll down a collapsed navbar on mobile devices
Created by: clheppell
When visiting a site using a mobile device with a navbar with .fixed-top, if the opened navbar-collapse area runs beyond the end on the viewport vertically (due to lots of links etc), you cannot scroll down the the links at the bottom of the navbar as you can in Bootstrap 3.
When you do try to scroll, the body behind the navbar scrolls, with the navbar fixed in place.
This can be fixed by setting overflow-y: auto;
and adding a max-height:Xpx
to the .collapse.show
class and allows you to scroll the navbar-collapse area.
This happens in (the ones I tested) major browsers (Safari, Chrome, both on the latest updates). I haven't yet tried whether this fix breaks anything elsewhere.