My problem is that the back animation on iOS Devices is very slow. I have no problem on the browser with the web-app.
The code to navigate between the pages is the following:
Forward navigation
showResults() {
this.loading = true;
var searchResult : Explore[] = [];
this.exploreService.getExploreFilteredByTag(
this.filterService.getActiveFilters()
).subscribe(result => {
this.loading = false;
searchResult = result;
let navigationExtras: NavigationExtras = {
state: {
result: searchResult
}
};
this.router.navigateByUrl('search/result', navigationExtras)
}, error => {
this.loading = false;
this.presentSearchErrorToast();
});
};
Back navigation
<ion-toolbar>
<ion-back-button slot="start" text="" [defaultHref]="'/search'"></ion-back-button>
</ion-toolbar>
</ion-header>
Do you have any suggestions on what might be the problem or a possible fix ?