zachfitz / Ionic-Material

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

Motion not work for single record. #179

Closed bohrasankalp closed 3 years ago

bohrasankalp commented 8 years ago

I have list of records. And animation works well. I tried ionicMaterialMotion.ripple(); ionicMaterialInk.displayEffect();

this way. but If I edit single record with in this list. Animation doesn't work. Though data get updated but is invisible on front niether animation work. Suppose I have 5 records, after rendering all with animation I updated third record and try to push updated value to third index it appears as invisible. But within page If I check using firebug value get updated. Neither animation works here.

In case I try it with $timeout this way... $timeout(function() { ionicMaterialMotion.ripple(); ionicMaterialInk.displayEffect(); }, 0); it works why?