stevecjor priority asked 2 years ago
Actual behavior seeing: ripple.js:115 Uncaught TypeError: Cannot read property 'offsetHeight' of null at n.value (ripple.js:115) at HTMLAnchorElement.e (event-handler.js:102) value @ ripple.js:115 e @ event-handler.js:102 navigation.js:71
Resources (screenshots, code snippets etc.)
I recently experienced this same thing using the latest version of MDB5 (3.9.0) with the same stack trace. I've created a snippet where I ran into this that you should be able to use to duplicate.
Just click any of the menu links and you should see the console error. I am using Microsoft Edge but was able to duplicate in Google Chrome as well (running Windows 10).
It looks like it's failing on the Ripple class itself where the element is not defined (and therefore the offsetHeight is not defined):
Let me know if I can be of more assistance in this regard as well, happy to provide more screenshots or information if needed.
I should note that the ripple seems to still work, it just creates a console error.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.5.1
- Device: Macbook Pro
- Browser: Chrome
- OS: MacOS Catalina
- Provided sample code: No
- Provided link: No