From a47d2208071c7b46956cc70aa9da5ecaea7ec59e Mon Sep 17 00:00:00 2001 From: Evan Theurer Date: Mon, 22 Jun 2015 16:46:42 +0200 Subject: [PATCH] Fix breaking change: css animation defaults of directive animation classes changed. See https://github.com/angular/angular.js/commit/1bebe36aa938890d61188762ed618b1b5e193634#diff-fc9e96da9f5a9dfda43ef79e695d27ccR155. --- src/styles/global/_animations.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/styles/global/_animations.scss b/src/styles/global/_animations.scss index eac29df3..d1fee8c5 100644 --- a/src/styles/global/_animations.scss +++ b/src/styles/global/_animations.scss @@ -28,20 +28,22 @@ &.ng-hide-add { display: block !important; opacity: 1; - transition: all linear .5s; + transition: all linear 0s; &.ng-hide-add-active { opacity: 0; + transition: all linear .5s; } } &.ng-hide-remove { display: block !important; opacity: 0; - transition: all linear .5s; + transition: all linear 0s; &.ng-hide-remove-active { opacity: 1; + transition: all linear .5s; } } }