creativetimofficial / now-ui-kit

Now UI Kit Bootstrap 4 - Designed by Invision. Coded by Creative Tim
https://www.creative-tim.com/product/now-ui-kit
Other
1.7k stars 375 forks source link

Navbar collapse not working on Chrome for Android #34

Closed phtmgt closed 7 years ago

phtmgt commented 7 years ago

For some reason "nav-open" does not get added as html class on click. SImilarly, if I add manually "nav-open", clicking the menu button or outside the navbar does not remove "nav-open" class from html (i.e. the menu stays on scree). This only affects android chrome, it works fine on windows, macos, iOS, and firefox on Android.

phtmgt commented 7 years ago

It's all good. The javascript was not loading because of cache on Android Chrome. If someone encounters this, we solved it by adding '?r=1' at the end of the compiled .js resource.