Open
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
Sometimes the nav animation is incorrect when using the browser back and forward buttons to navigate through multiple pages.
Expected Behavior
The nav animation direction should be correct based on the internal navigation stack.
Steps to Reproduce
The following video demonstrates the issue and serves as reproduction steps:
Screen.Recording.2023-10-06.at.08.29.22.mov
- clone the ionic framework repository and apply the necessary build steps to provide the
ng16
test project - open the tabs page
- navigate into pages of tab1 twice (see video)
- use the browser back button twice (back to the tab's root page)
- use the browser forward button twice --> The second animation is incorrectly a "back" instead of a "forward" animation.
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 7.1.1
Ionic Framework : @ionic/angular 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 (--> Sonoma)
Additional Information
No response