Open in new tab is not working in angular2

I am working on angular2 application i which i have added the link

[routerLink]="['ProjectDetailComponent',{id:project._id}]"

but when user want to open it in new tab its not working.

I don’t want to implement the hashstrategy for routing

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Jason Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Jason
Guest

update

This was fixed for the old router. I don’t know about the new one.

original (old router)

Sounds like you are running into this issue https://github.com/angular/angular/issues/5908 (or https://github.com/angular/angular/issues/7749)

which is about broken default Ctrl+Click behavior.