Roo/bootstrap/Navbar.js
authorAlan Knowles <alan@roojs.com>
Thu, 29 Nov 2018 07:29:53 +0000 (15:29 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 29 Nov 2018 07:29:53 +0000 (15:29 +0800)
Roo/bootstrap/Navbar.js

index 2a1b8bd..756ca84 100644 (file)
@@ -55,9 +55,13 @@ Roo.extend(Roo.bootstrap.Navbar, Roo.bootstrap.Component,  {
                 if (ce.hasClass('collapse')) {
                     // show it...
                     ce.removeClass('collapse');
-                    ce.addClass('collapsing');
+                    ce.addClass('show');
                     var h = ce.getHeight();
                     Roo.log(h);
+                    ce.removeClass('show');
+                    // at this point we should be able to see it..
+                    ce.addClass('collapsing');
+                    
                     ce.setHeight(0); // resize it ...
                     ce.on('transitionend', function() {