Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(tabs): workaround for ngAnimate issue with ngClass
Browse files Browse the repository at this point in the history
active tab was being hidden due to an ngAnimate issue, this prevents that bug from occurring but does not fix the underlying cause
  • Loading branch information
Robert Messerle committed Dec 17, 2015
1 parent de5237f commit 19c11fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/tabs/tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ md-tab-content {
&.ng-leave, &.md-no-transition {
transition: none;
}
&.md-left {
&.md-left:not(.md-active) {
transform: translateX(-100%);
animation: 2 * $swift-ease-in-out-duration md-tab-content-hide;
opacity: 0;
Expand All @@ -204,7 +204,7 @@ md-tab-content {
visibility: hidden;
}
}
&.md-right {
&.md-right:not(.md-active) {
transform: translateX(100%);
animation: 2 * $swift-ease-in-out-duration md-tab-content-hide;
opacity: 0;
Expand Down

0 comments on commit 19c11fd

Please sign in to comment.