I've been working on an accordion animation using ng-hide
based on the panels height. However, I've noticed a slight jump when the ng-hide
is applied. (click on the first title to show and hide)
Can anyone offer assistance in resolving this issue?
Below is the CSS code I am currently using:
.animate-show{
border:2px solid gray;
padding: 10px;
background:green;
}
.animate-show.ng-hide {
transition: all linear 0.5s;
}
.animate-show.ng-hide {
line-height: 0;
padding: 0;
height:0;
}