-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Prequisites
- 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
- v4.x
- v5.x
- v6.x
Current Behavior
After following a specific order of navigation steps the ion-back-button changes the path but the back animation does not happen and the view stays the same.
Expected Behavior
The ion-back-button should trigger the animation and change the view
Steps to Reproduce
Create a blank ionic vue project and create 3 views.
Add those Views to the router and redirect root to view 2
The views have buttons to go to the next view
View 1 -> View 2 -> View 3
The views also have an ion-back-button.
The App starts on view 2
- go to view 3
- go back
- go back
- go to view 2
- go to view 3
- go back
- go back
Now the URL shows the path to view 1 but the last animation did not happen and we are still on view 2
Code Reproduction URL
https://github.com/luxterful/ionic-back-routing-issue
Ionic Info
Ionic:
Ionic CLI : 6.16.3 (/home/lukas/.nvm/versions/node/v14.16.1/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 5.7.0
Capacitor:
Capacitor CLI : 3.2.2
@capacitor/android : not installed
@capacitor/core : 3.2.2
@capacitor/ios : not installed
Utility:
cordova-res : 0.15.3
native-run : 1.4.1
System:
NodeJS : v14.16.1 (/home/lukas/.nvm/versions/node/v14.16.1/bin/node)
npm : 7.11.2
OS : Linux 5.8
Additional Information
No response