tleunen / react-mdl

React Components for Material Design Lite
https://tleunen.github.io/react-mdl/
MIT License
1.76k stars 255 forks source link

Unable to see ripple or underline on Tabs. Example codepen doesn't even work. #415

Closed mr-e- closed 7 years ago

mr-e- commented 7 years ago

https://tleunen.github.io/react-mdl/components/tabs/

On this link, while it works on this page, if you click the first example codepen, it does not work. There is no underline and no ripple. This is the same effect I got when I tried to place into my code.

hmaciasc commented 7 years ago

I can confirm not even adding ripple fixes it

StrikeForceZero commented 7 years ago

a dirty fix

add in to your components lifecylce componentDidMount handler

private componentDidMount() {
   window.componentHandler.upgradeAllRegistered();
}
DirtyHairy commented 7 years ago

This is a duplicate of #394 that got fixed in 1.8.0 .