خرید بک لینک

Vote count: 0

In Angular I'm having trouble animating the transition of an objects position after an Angular filter completes.

I've created a codepen to demo the functionality.

Now the opacity transitions to fadeinout those objects work fine once the filter is run but then they jump into their new position, and I would much rather prefer to apply a smooth transition to this as well.

ul.nav li { 
  transition: all ease 2s ;
}
.animate.ng-enter,
.animate.ng-leave
{
  transition: all 500ms;
}
.animate.ng-leave.animate.ng-leave-active,
.animate.ng-enter {
  opacity: 0;
  width: 0px;
  height: 0px;
}
.animate.ng-enter.ng-enter-active,
.animate.ng-leave {
  opacity: 1;
  width: 150px;
  height: 30px;
}

Any ideas?

Joe

asked 33 secs ago

- - , .
.

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 24 تير 1395 ساعت: 8:11

صفحه بندی