react-mdl-extra
react-mdl-extra copied to clipboard
Cannot read property 'getBoundingClientRect' of null
I have followed the instructions to load this component into my React application, but whenever I try to click on the component on my webpage it gives me this error in the console.
Does anyone know why this could be happening?
Can you please provide some more context? BTW I'm not using and maintaining this library anymore.
I was having the same problem, look at your React version. If it's 16, it probably won't work. I downgraded mine to 15.5.4, and it works. Don't forget to downgrade you react-dom too. :)