ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Transition animation not working on android and WP

Open xap5xap opened this issue 10 years ago • 4 comments

The animation "ios-transition" causes the returning page to occupy half of the screen when the back button is pressed. This only happens on Android and WP.

Steps to reproduce: When I open another page with the code below, the animations works as expected from right to left on IOS, Android and WP, but when the back button is pressed on the opened page, then the parent’ content is rendered only the half.

        this.navController.push(SearchPage, null, { animate: true, animation: "ios-transition" });      

image

I am using Ionic 2.0.0-beta.10

Cordova CLI: 6.1.1 Gulp version: CLI version 3.9.1 Gulp local: Ionic CLI Version: 2.0.0-beta.32 Ionic App Lib Version: 2.0.0-beta.18 OS: Node Version: v4.4.6

xap5xap avatar Jul 02 '16 16:07 xap5xap

Confirmed this is a issue in our e2e tests: screen shot 2016-07-03 at 09 38 46

ios-transition leaves the ion-page's content behind in a bad state for the go back md-transition.

Possible solution:

  • "ios-transition" should reset content position after it finish
  • All transitions should reset page and content state before starting

manucorporat avatar Jul 03 '16 07:07 manucorporat

Hi, was this fixed? because I'm running beta.11 on ios 9.3.2 and still getting this issue

gadld avatar Aug 15 '16 23:08 gadld

Using beta11 and still getting the issue as well. Didn't see it happen on Android though, but on iOS.

schankam avatar Sep 08 '16 03:09 schankam

@schankam @gadld should be fixed thanks to: #8272

manucorporat avatar Sep 28 '16 23:09 manucorporat