Skip to content

bug: router transition animation not applied when using browser back button #28176

Closed as not planned
@hoi4

Description

@hoi4

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

When using the browser back button, the page transition animation is not played.

Regarding the attached video: I just added an "about" page to the tabs starter project. The hard cut between the "about" page and the tab1 is me pressing the browser back button.

Screen.Recording.2023-09-14.at.19.24.39.mov

Expected Behavior

I would expect animations to work when using the browser back button

Steps to Reproduce

  1. Open tab1 and click the button to route to the "about" page
  2. Click the browser back button

Code Reproduction URL

https://github.com/hoi4/ionic-animation-test

Ionic Info

Ionic:

   Ionic CLI                     : 5.4.16
   Ionic Framework               : 7.4.0
   @angular-devkit/build-angular : 16.2.2
   @angular-devkit/schematics    : 16.2.2
   @angular/cli                  : 16.2.2
   @ionic/angular-toolkit        : 9.0.0

System:

   NodeJS : v18.17.1 (/Users/philipp/.nvm/versions/node/v18.17.1/bin/node)
   npm    : 9.6.7
   OS     : macOS Unknown

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions