Page push/pop animation, slide in over the current page?


#1

Let’s say the current page is Page1, and the new page is Page2. In Page 1, if I call this.navctrl.push(Page2, {}, [animate:true, animation:‘forward’}, Page1 slides out to the left and Page2 slides in from the right.

The problem is, Page1 has an Ionic-Native Google Map, so sliding it causes weird problems. How can I use the animation that does NOT move Page1, but make Page2 slide in from right OVER Page1? If that is not possible, please let me know.


#2

I just downloaded Ionic’s source code and created my own page transition referencing existing page transitions. I could not find any documentation other than some simple comments in the source codes, so after some guessing and trying, I could achieve it… Damn, am I the only one who thinks that the Ionic documentation is really incomplete and hard to search for?