Topic: mdb.min.js error & page not loading

tiffani pro asked 7 years ago

I spent a day working with the CSS and everything looked good. Now that I've come back to the project, I'm seeing the following error and the page won't load: mdb.min.js:8 Uncaught TypeError: Cannot read property 'classList' of null Any idea what would cause this? I've not touched anything to do with the mdb.min.js file. Thanks

Jigo Palillo free answered 7 years ago

you can add this empty div... <div class="custom-scrollbar" style="display:none;"></div> OR you can add the class to any of your elements. I personally added it to my <body class="custom-scrollbar"> apparently it's looking for that class.

How did you get this error? Can you share your code? Any other console logs?

tiffani pro answered 7 years ago

Bootstrap v4.0.0-alpha.3 it's actually the version that downloaded with the MDB pro

What is your version of MDB?

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.


Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No