Thank you. Really appreciate your help.
redirectTo(uri:string){
this.router.navigateByUrl('/', {skipLocationChange: true}).then(()=>
this.router.navigate([uri]));
}
then use it like this
this.redirectTo('//place your uri here');
this function will redirect to a dummy route and quickly return to the destination route without the user realizing it.
1 Like
@rapropos Thank you so much! this works perfect for me, and I understand a litle bit more the reactive programing.
It is very sad we have to resort to this hack in order for something so simple to work properly. Glad you have found an answer to this problem