1

I'm using ngFx for my animations in an angular app (and new to the world of angular)

ngFX is great - seems very easy to use, but I want to improve how it deals with resizing the containing element.

Easy to see below, upon removal of the image the containing div instantly resizes - I want that to be smooth, i.e. it takes 1 sec to resize instead of that instant jump.

Not sure where to start fixing this issue.

Thanks

enter image description here

<div class="well well-lg">
    <h1 style="margin-bottom: 20px">NG SHOW</h1>
    <button style="margin-bottom: 20px" type="button" class="btn btn-primary btn-sm" ng-click="showdog = !showdog">TOGGLE</button>
    <br>

    <img class="fx-fade-up-big" ng-show="showdog" src="http://vignette4.wikia.nocookie.net/simpsons/images/7/77/200px-SantasLittleHelper.png/revision/20090712224020" >
</div>
DogCoffee
  • 19,820
  • 10
  • 87
  • 120

0 Answers0