[Solved] Ionic Modal not animating


#1

I am trying to show a modal view, but it isn’t sliding in.

Here is a codepen with a repro

If you click “Click” the modal shows, but it doesn’t animate.


#2

#3

Thanks. After much comparison between yours and mine, I finally noticed I was using an <ion-view> instead of a <div class="modal">

Out of curiosity, was there a reason a <ion-modal-view> (or something similar) directive wasn’t created?


#4

Hey @mhartington

I had the same problem yesterday… Maybe the docs needs to be clear that you need to use the modal inside a div.modal… So consider this PR https://github.com/driftyco/ionic/pull/1384