I have the following code:
if (vm.theNextStep === true) {
vm.theNextStep = false;
vm.setSuccess = true;
$('#theNextStep').fadeOut(500);
$('#setSuccess').fadeIn(1500);
$('#setSuccess').fadeOut(2000);
}
#setSuccess {
padding-top: 2%;
padding-bottom: 2%;
background: #7CB130 url(check_white.png') no-repeat center;
min-height: 85px;
padding-right: 2%;
margin-bottom: 2%;
}
<div id="setSuccess" ng-show="vm.paymentSuccess"></div>
The page jumps upon page fadeIn. How can i resolve it?