react-mdl-extra icon indicating copy to clipboard operation
react-mdl-extra copied to clipboard

Cannot read property 'getBoundingClientRect' of null

Open andrewterra opened this issue 7 years ago • 2 comments

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?

andrewterra avatar Nov 20 '17 19:11 andrewterra

Can you please provide some more context? BTW I'm not using and maintaining this library anymore.

HriBB avatar Nov 23 '17 03:11 HriBB

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. :)

rob10e avatar Jan 07 '18 03:01 rob10e