Closed iarobinson closed 5 years ago
I've uploaded a blank app with the materialize gem installed and a root view of the navbar I'm trying to get working at the following link:
Hi @iarobinson, materializecss is not base on bootstrap framework. you should refer official materilaizecss documentation instead. not bootstrap.
if you looking bootstrap base material design, take a look at this gem material-sass.
From my development experience, the materialize-sass gem doesn't load the JavaScript properly.
Specifically, the navbar module doesn't work.
Here is a screenshot of a brand new app with the materialize gem installed as per the documentation, and a navbar which is copied directly from the Bootstrap documentation.
Mobile view:
Desktop view:
I can confirm materialize, jQuery and bootstrap are all loaded. Therefore, I'm guessing it's an issue with the sequence in which they are loaded. I feel it's likely related to how Rails loads them.
Thoughts?