diff --git a/ionic/animations/animation.ts b/ionic/animations/animation.ts index 79c1b85b04..e3a040b8da 100644 --- a/ionic/animations/animation.ts +++ b/ionic/animations/animation.ts @@ -482,7 +482,8 @@ class Animate { self.player = self.ele.animate(self.effects, { duration: self.duration || 0, easing: self.easing, - playbackRate: self.rate || 1 + playbackRate: self.rate || 1, + fill: 'both' }); self.player.onfinish = () => { diff --git a/ionic/components/icon/icon.ts b/ionic/components/icon/icon.ts index d24dd8533c..b7d1370d04 100644 --- a/ionic/components/icon/icon.ts +++ b/ionic/components/icon/icon.ts @@ -84,7 +84,7 @@ export class Icon { if (!this.ariaHidden) { // the icon is either not within a button // or the icon is within a button, and its an icon only button - this.label = this.name.replace('ion-', '').replace('ios-', '').replace('md-', '').replace('-', ''); + this.label = this.name.replace('ion-', '').replace('ios-', '').replace('md-', '').replace('-', ' '); } }