You can put navbar-fixed class on nav and close nav as soon as top navigation bar code ends. Ex:
<nav class="blue-grey darken-4 navbar-fixed">
<a href="#!" class="brand-logo">Logo</a>
<a href="#" data-activates="slide-in" class="button-collapse"><i class="material-icons">menu</i></a>
</nav>
<ul class="right hide-on-med-and-down">
<li><a href="sass.html">Sass</a></li>
...
@kmmbvnr Thanks.
These issues are all duplicates:
https://github.com/Dogfalo/materialize/issues/1664
https://github.com/Dogfalo/materialize/issues/3918
https://github.com/Dogfalo/materialize/issues/4046
https://github.com/Dogfalo/materialize/issues/4231
https://github.com/Dogfalo/materialize/issues/437
https://github.com/Dogfalo/materialize/issues/4318
https://github.com/Dogfalo/materialize/issues/3982
https://github.com/Dogfalo/materialize/issues/2879
https://github.com/Dogfalo/materialize/issues/4187
For the future discussion, please use this issue instead.
https://github.com/Dogfalo/materialize/issues/3844
Most helpful comment
You can put
navbar-fixedclass onnavand closenavas soon as top navigation bar code ends. Ex: