-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Bug Report
Ionic version:
[x] 5.6.7
Current behavior:
When I navigate between different Pages using ion-cards and this.router.navigate (click event), everything is fine, and the navigation animation looks good.
When, however, I try to navigate very fast by clicking on the cards, spamming the clicks with navigation event, in the middle of animation, the bug seems to occur. The subsequent calls of this.router.navigate navigate (the promise returns true), but the component gets visually stuck (no animation no navigation) and the subsequent clicks on this.router.navigate return null, because Angular assumes that I already am navigated.
Steps to fix:
I know this is animation issue, because I can fix it by settings IonicModule.forRoot({ animated: false })
Ionic info:
Ionic:
Ionic CLI : 5.4.16
Ionic Framework : @ionic/angular 5.6.7
@angular-devkit/build-angular : 0.1102.6
@angular-devkit/schematics : 11.2.6
@angular/cli : 11.2.6
@ionic/angular-toolkit : 3.1.1
Capacitor:
Capacitor CLI : 2.4.7
@capacitor/core : 2.4.7
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (0 plugins total)
Utility:
cordova-res : 0.15.3
native-run (update available: 1.3.0) : 0.3.0
System:
Android SDK Tools : 26.1.1 (/Users/graholskise/Library/Android/sdk)
NodeJS : v12.14.1 (/Users/graholskise/.nvm/versions/node/v12.14.1/bin/node)
npm : 6.13.4
OS : macOS Big Sur
Xcode : Xcode 12.5 Build version 12E262