When coding pop’s there’s an option to do animate:false but how do you disable animate on the build in back button in the ion-navbar?
Here you go:
@ViewChild(Navbar) navbar: Navbar;
ionViewDidEnter() {
this.navbar.backButtonClick = () => this.navController.pop({animate: false});
}
3 Likes
Ow I just found a way to disable animations globally so for my project that works better. For anyone else who needs it:
2 Likes