This problem can be shown in all versions of Twitter Bootstrap (what I know). So, I have a navbar, and when the screen is smaller, it becomes a resettable tray. This behavior can be seen on the bootstrap demo site. I also have submenus that seemed to crash during the initial navbar extension. The problem is that at the first smoothing the reset gets an explicit height value. If you close and expand again, the minimizer gets height:auto;
So, when I click on a submenu item, the drop-down menu expands, but it overflows because the height is explicitly set.
In my attempt it was added:
$(function() { $('.nav-collapse').on({ shown: function() { $(this).css('height', 'auto'); }, hidden: function() { $(this).css('height', '0px'); } }); });
This does not affect it at all, I deleted this code and it still has the same effect. If JS Fiddle helped, I would be happy to provide it, but you can see all this on the Bootstrap demo site.
Thanks in advance, Charles.
Charles Kirk
source share