zachfitz / Ionic-Material

Material Design style and animations for Ionic
http://ionicmaterial.com
Other
2.9k stars 904 forks source link

Animation: ionicMaterialMotion.ripple() causing error #161

Open brentoneill opened 8 years ago

brentoneill commented 8 years ago

I am getting:

Uncaught TypeError: Cannot read property 'className' of undefined(anonymous function) @ _motion.js:370

when trying to call ionicMaterialMotion.ripple() on button click. The same error occurs when I try to call it on controller initialization.

ionicMaterialInk, ionicMaterialMotion are injected in to my controller with no errors.

thisistouhid commented 8 years ago

Getting the same error. May be ionic-meterial is not compatible with new version of ionic. I am also getting other errors. For ex: my header and icons are gone after adding ionic-material.

brentoneill commented 8 years ago

Mine are too...didn't think about the version number.

I am using Ionic 1.0.0

NuclleaR commented 8 years ago

Have same issue. Anyone knows how fix this issue?

kashban commented 8 years ago

See this issue: #43

There I explain where the error stems from and how to get around it.

kamakshi417 commented 8 years ago

i have faced same issue .But didn't solved.