Reputation: 65860
Animation CSS
.animate-repeat {
line-height:40px;
list-style:none;
box-sizing:border-box;
}
.animate-repeat.ng-move,
.animate-repeat.ng-enter,
.animate-repeat.ng-leave {
-webkit-transition:all linear 0.5s;
transition:all linear 0.5s;
}
.animate-repeat.ng-leave.ng-leave-active,
.animate-repeat.ng-move,
.animate-repeat.ng-enter {
opacity:0;
max-height:0;
}
.animate-repeat.ng-leave,
.animate-repeat.ng-move.ng-move-active,
.animate-repeat.ng-enter.ng-enter-active {
opacity:1;
max-height:40px;
}
HTML
<div class="row item animate-repeat" ng-repeat="comment in Event.Item.Comments | limitTo: Event.CommentsLimit">
<div class="col-sm-1 col-sm-offset-1"></div>
<div class="col-sm-9">
<h3>
</h3>
</div>
</div>
<div class="row">
<a class="show-more" </a>
</div>
OUT PUT
This is the default page :
When I click the 'Show More' Button,it'll have a strange issue with the 'Show More' button.This is happing only when I have applied the 'animate-repeat' class to the 'ng-repeat' directive.How can I get rid of this ? Any help would be highly appreciated.
Upvotes: 0
Views: 88