zachfitz / Ionic-Material

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

ion-refresh #192

Open mikepc opened 8 years ago

mikepc commented 8 years ago

I'm trying to use the ion-refresh directive in an ionic material app but the items aren't visible after "refreshing", even though the event completes successfully. I think this has something to do with the slide-fade-in class, but I'm having a bugger of a time getting them to show up.

The opacity is never set to 1 after the event fires. I guess I'll pull in jquery and manually toggle the opacity for now, but this is definitely not optimal. If anyone else has any ideas, happy to hear them, didn't want jquery in my project.

mikepc commented 8 years ago
        $timeout(function() {
            ionicMaterialMotion.fadeSlideIn({
                selector: '.animate-fade-slide-in .item'
            });
        }, 200);

^ Full of Win.